Web Forms :: How To Draw Vertical Rule In C#
May 23, 2010i have images in left ,right,bottom of the page so i want to draw border like this , in vertical and horizontal,can you give example:
[code]....
i have images in left ,right,bottom of the page so i want to draw border like this , in vertical and horizontal,can you give example:
[code]....
Textbox1
Textbox2
Textbox4
Textbox5
Textbox 3
Textbox3
I've one of webform (in design side) has so many textboxes incorborate from one another so , i want to draw line vertically and horizontally acoross the page to point the textboxes
I want to draw the vertical line in designing. For example Table 1 Keep your job-search confidential Control your privacy Reach to over 35000 recruiters Get Job Alerts in your inbox Apply to jobs from your Mobile. I want to draw vertical line both side about table1
View 1 RepliesResponse.RedirectPermanent(Url); can redirect permanently to a url.
However, during my SEO process, I decided to change my routhing rule.
For example,
I change "/tag/{tag}-quotes" routing rule to "quoes-about/{tag}", but I don't want to lose all the traffic to old routing url.
What is the best way to handle this permanent redirection?
I have an image of an eyeball and i'd like to make some complex markings on it with the mouse.
View 4 Repliesi am working on a c#asp.net web page that needs to display a graph. The graph is fairly basic it will show time series data so on the Y axis i will show values between -100 and +100 for 4 lines and on the X axis i wont to show Dates (30 dates in total)
Can anyone recomend a control or way of doing this. (I see there are commercially available controls out there which look great but some cost 000's of dollars i nly need simople good looking line graph)
I have a product-page and a department-page. Both departments and products are picked from a database by their id (productid and deptid).
When I try to route like this, it seems that only the first rule is applied, Why? How can I solve this?
In global.asax:
[Code]....
With the above settings I can reach
http://mysite.com/myproduct.aspx but not
http://mysite.com/mydepartment.aspx.
If I switch so that the DeptList rule comes first "mydepartment.aspx" works but not "myproduct.aspx"....
I want to know is it possible to create a draw editor as we do it on microsoft word using pen.I found a article system.drawing.pen but that was using windows form my requirement is on web form
View 1 RepliesI want to use wild card after first slash("/") in my url rewriting but i want other pages to redirect on particular page for e.g. if i use this
<rewrite url="~/(.+)" to="~/default.aspx" />
Then it will redirect all pages to to xyz.com/default.aspx
But i want this will fire last if i use some rule before that if will fire to that page not use this url rewriting like in MVC but i want it in through url rewriting e.g.
<rewrite url="~/submitform" to="~/submitform.aspx" />
<rewrite url="~/(.+)" to="~/default.aspx" />
in that case if user write xyz.com/submitform it will redirect to submitform.aspx else redirect to default.aspx.
I am having some trouble when I use ASP .Net 4's URL Rewrite feature while Authorization rules configured.
Global.asax
[Code]....
{Root}Web.Config
[Code]....
{Root}RestrictedWeb.config
[Code]....
The problem I am facing is: When I try to visit [URL]- because of my dashboard rule in Global.asax, instead of being redirected to [URL] I am actually getting the content of [URL] when I try to visit [URL] I do get redirected to [URL] which is a good sign.
I am new to asp.net. to draw the following table using datagrid?
[Code].....
i want to create an image from a input stream. My input stream is coming in a string that is i am getting stream data something like this
string stream=Request["data"];
and in stream i am getting co-ordinate values like
102_85_92_88-92_88_85_94-85_94_79_100-79_100_75_110-75_110_75_119-75_119_75_125-75_125_82_136-82_136_88_141-88_141_92_145-
now i want to draw an image from this data and want to upload it on my server. I am not able to do this.
I need to develop a new functionnality for one of our application.
Basically, what i want to develop is a way to let the user draw a semi-transparent rectangle over a static image. The principle could be the same as mspaint. The user click on a button a then, can draw his rectangle over an image.
i have an image button that i draw with its data in the runtime and i want in the event og onclick of it, apopup model appears to confirm delete or update that row. the problem is here that i made alot of searches but all i found was in the design time.
View 6 RepliesIsit possible to draw/create something like this in webform c# visual studio? If possible how?
View 5 RepliesI recently added a URL rewrite rule to my website so that all URLs that contain upper case letters are 301 redirected to the same URL, but replaced with lower case letters. [URL] redirect to [URL]. After running the IIS SEO toolkit, it's complaining about unnecessary redirects because of this rule whenever a link containing uppercase letters, like <a href="www.asp.com/MyPage.aspx">click</a>, is within my website. Since it's doing a 301 redirect, does it really hurt to leave the upper case letters in tact in the links, or am I going to have to go through hundreds, possibly thousands of links and manually switch the casing to all lowercase?
View 2 RepliesHow to make a connection between a word in the cell (href)?and a rule of the same or another table with sql. Is there also finished editors?
View 3 RepliesI'm just trying to teach myself a bit of CSS and it's pretty straight forward but I am getting something odd.
I built a css file, tried out various rules, all good.
Now I edit the css file. Everything compiles ok but it's still using the rules as they were before I edited them. I've even removed some of them from the css file and they're still being used. I tried removing the reference to the css file and the rules all stop being used (as I'd expect) but when I add the reference back in and the old rules reappear but not the new ones.
I'm guessing there's some 'built' version of the css file and that's what's actually being used. But rebuilding the website isn't causing the built css to refresh itself so my edits aren't being picked up.
edit> forget it, I was hitting f5 not ctrl f5. Just a bit of cuture shock switching from desktop dev.
currently i am displaying a single row of data in a grid but as its displays in vertical manner . i need something where in data can be displayed in horizontal manner one below another
View 1 RepliesGrid vertical scroll bar
<asp:Panel ID="Panel1" runat="server" Height="172px" Width="500px" ScrollBars="Vertical">...
I have a grid in the panel as i need to scroll vertically for grid records but even if rows r more i am not able to get vertical scrolling...
I am looking for a control that can draw a very customized chart in ASP.NET. The chart comprises:
1. A closed triangle, or polygon, shaded, drawn according to a fixed set of xy vertices.
2. A series of x,y points plotted on top of the triangle or polygon.
I thought the chart Control wasthe best, but I can't figure out how to draw the close triangle or polygon.
Is GDI+ the better way?
I would like to know if there is any way to draw some dynamic number of points and lines in a report.
I will have a group of "coordinates" that will define where in the report I must draw the items (cm from the left, and cm from the top).
Is there any way to achieve that? I can draw fixed elements, but I want positioning them dynamically.
The final target is to draw a map which mantains a scale, and draw some relevant elements in the map.
I'm thinking to have a datasource with all the location, the appearance and text data, and then (still don't know how) draw each element with it's style.
I got a question with my ASP.NET page. On the page I have a form with some textboxes and a submit button. How can I do the following:
Get data from the textboxes Calculate some values Draw and place an image after the form using these values.
Trying to extract the timezone data from all the time zones using the timezoneinfo class but I have run into a problem. For those timezones that have Daylight savings times I am seeing all kinds of different numbers of adjustmentrules and I have no idea how to determien which rule I shoudl be using for a given timezone. Some have 1 rule, but I see timezones with multiple rules some as high as 11 rules. How do I know which rule I chould be usuing to get the correct DaylightTransitionSart and stop values?
View 2 RepliesIm using Intelligencia UrlRewriter for url rewriting. I have wrote a set of rules in the web.config file I have two sets pages, Static pages whose name is static but content is CMS based Dynamic pages (actually this is not simply a dynamic page its a category which have description and sub categories) Here both pages are being rewritten from the config file. For instance home page, about us page etc tis is being rewritten as
rewrite url="~/Home" to="~/Default.aspx"
The category page is being the same kind of url its being rewritten as
rewrite url="~/(.*)" to="~/GroupHome.aspx?Group=$1"
I have given the rules for the static pages first and then the category url but all the urls are being rewritten to grouphome, even if I have given the rule for home page, about us page etc before the category rule. I have tried even the ollowing still its directing to Group home,
<rewrite url="~/Home" to="~/Default.aspx"/>
<rewrite url="~/(.*)/" to="~/GroupHome.aspx?Group=$1"/>
<rewrite url="~/Home" to="~/Default.aspx"/>
How the rule can be rewritten to include both urls