Feeds:
Posts
Comments

Posts Tagged ‘ASP.Net’

Following is the sample code you can use to parse your querystring and return NameValueCollection protected void Page_Load(object sender, EventArgs e) { String currurl = HttpContext.Current.Request.RawUrl; String querystring = null ; // Check to make sure some query string variables // exist and if not add some and redirect. int iqs = currurl.IndexOf(‘?’); if (iqs [...]

Read Full Post »

A big part of the appeal of jQuery is that it allows you to elegantly (and efficiently) find and manipulate HTML elements with minimum lines of code. jQuery supports this via a nice “selector” API that allows developers to query for HTML elements, and then apply “commands” to them. One of the characteristics of jQuery [...]

Read Full Post »

Below is the line of code to disable copy & paste event in textbox. <asp:TextBox onCopy=”return false” onPaste=”return false” ID=”textboxname” runat=”server” ></asp:TextBox> Hope this helps Enjoy!!!

Read Full Post »

Detailed explanation of using csharp and vb files in app_code.

Read Full Post »

Today while developing a page, we felt need to read database into javascript array. And we were confused if at all we can do this. So finally after googling on this we found a workaround. So I just thought of sharing this with you because I think this is really helpful. <script language=”JavaScript” type=”text/javascript”> var [...]

Read Full Post »

Older Posts »

Follow

Get every new post delivered to your Inbox.