Quantcast
Channel: Web Forms
Browsing all 23244 articles
Browse latest View live

Regular Expression Validator? Correct Approach??

Hey guys :) I am trying to create validation on one of my asp.net pages. I need to set it so that a user must enter one of the four mathematical operators (* + - /) followed by a number. There must not...

View Article


How to disable the cut ,copy, paste option ???

Hello expert,I am using asp.net framework 4.0 .I have a freetextbox,i want disable copy,cut and paste options in freetextbox, i have lot searched but not solution found .So,please suggest me how to...

View Article


Custom Sorting in Grid view

Hi friends..In grid view we have option by default as sorting and paging.....if i disabled those two textboxes by pro grammatically i need to get that feature. please help me here my Techies.Thanks.

View Article

Image may be NSFW.
Clik here to view.

how a font in a tag = FontSize + 1;

hii want create page like this pagewhen +_click , font += 1;and when -_click , font -=1;<script language="javascript"> function Increase(){ document.getElementById("text1").style.fontSize += 1; }...

View Article

How to update the data of the table with the help of a single query.

Hello All, I have table called User userid gender abc M uvw F xyz M mno F pqr M now with in one query i need to update "M" with "F" and vice versa. How is that possible?? Please Help Thanks in Advance

View Article


TreeView select node

I have a treeview for a file system with nodes' NavigateUrl set to the url to download the physical files. Is there a way to just select the node on clicking on the image of the node and display the...

View Article

pass value to javascript

It may  be more like a javascript question, but the following table cells are generated by ASP.NET:I have a table with n x n matrix, and each cell would have an id like this: <td...

View Article

Calculator function

Hey there,I am trying to create do addition subtraction multiplation and division with only one "calculate" button. The following is the code i came up with however its not working exactly the way i...

View Article


I need the clickable divider between left menu and content from msdn

HiSorry about the bad subject.If you look at msdn: http://msdn.microsoft.com/SV-SE/library/wtxbf3hh.aspxyou will see an arrow between the left menu and the content to the right. Clicking the arrow can...

View Article


Build Image from Clips

I'm trying to get pieces from an image and put them together into another image.  This is my first time using graphics.I have an image made up of four 16X16 icons that is 16X48px.  I want to get image...

View Article

Podcast RSS Feed

Hi,I'm new to integration of Podcast RSS feed, does anyone know how to go about implemeting this piece?We need a way to host the Podcasts in website and have the iTunes store show the updates. Any help...

View Article

Gridview delete ,No Delete ,No errors.

<script runat="server"> SqlConnection objConn = new SqlConnection(); SqlCommand objCmd = new SqlCommand(); SqlDataAdapter dtAdapter = new SqlDataAdapter(); DataTable dt = new DataTable(); String...

View Article

Email is not being sending?

Hi all,i use to get error :The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. nj9sm25493816pbc.13 -...

View Article


link looses parameter (&) when set in code behind ...

Hi all, I have a HtmlAnchor (a) in a webform. In PreRender, I try to set the href property like this: HtmlAnchor lb = (HtmlAnchor)sender; string URL =...

View Article

How to prevent Rss feed error using xmldatasource

I build a web site that grabs multiple Rss resources using xml. However, sometime, I experience website crash becuase some Rss resource is temparary down. so my question is How I can add code to...

View Article


How Can i Send Mail sending Through Exchange Server by using SMTP

I want to Run Below code without NetworkCredential nc = new Net.NetworkCredential("USERNAME", "PASSWORD"). BY using Only Exchange Host (Server Name) And Port Im Getting Error For this code : Mailbox...

View Article

not able to command in asp.net aspx page for container. pls see this issue.

hi,normally we ued to give <!--lkjlkjlkj--> to command in asp.net . right?i am using datalist . so in linkbutton i am binding follows.<!--<asp:DataList ID="chri1" runat="server"...

View Article


Need Help

Hi There,I am working in IT field last 5 years.Early three yrs i worked in asp.net but last 2 years i am working as IOS iphone app dev. Now i am looking for a change but IT makert expects more from me...

View Article

How to get getElementById

<div id ="SubMenu<%# DataBinder.Eval(Container, "ItemIndex")%><%# DataBinder.Eval(Container.DataItem, "DescriptionMenu")%>" style="display:none;" ><asp:Repeater id="rptSubMenu"...

View Article

Delete default url of user control page

Hello Everyone !I have trouble with default url of user control page, I get image from database and load to aspx page it load good, but I user user control page, It auto insert user with folder contain...

View Article
Browsing all 23244 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>