hi, i have got 3 text boxes in my content page. on the press of enter key in textBox1 focus should be on textBox2 and there on press of enter key focus should be on textBox3. after pressing enter key there, button click event should be called. please help me with some code thanks in advance regards, dittu
dittu7
Posts
-
key press in asp:TextBox -
paging without sqlDataSource control..hi every one, can anyone tell me how to do paging for gridView in asp.net without using the sqlDataSource control, on clicking next it has to show the next page, on clicking prev it has to show the previous page in the gridView control. just like the operation we get in sqlDataSource control. i'm fresher pls explain in detail. any links also will help me great.. thanks in advance dittu :)
-
need detail info about session [modified]i'm using sessions. but it is not working or i am tellign that session is not storing the value.... :(
-
need detail info about session [modified]Hi, i'm using session in my application. and code is like this in page1.aspx.cs under button_click event
If CheckBox1.Checked = True Then
session("value") = "chkT"
Else
Session("value") = "chkF"
End Ifin page2.aspx.cs under form_load event
Dim check As String = Session("value")
If (check = "chkT") Then
code goes here
ElseIf (check = "chkF") Then
code goes here
End Ifnow the problem is the strings chkT or chkF are not taken by session in the "value", don't know why it is not taking. though it works now. if i restart the PC i'm getting the same problem.. please solve this problem. or atleast tell me are there any other ways to pass the value to page2.aspx from page1.aspx with out displaying that page2.aspx on browser..
modified on Tuesday, July 6, 2010 6:17 AM
-
problem when using sessionshi every one, it's a very small thing. i'm using session don't know where was i gone wrong. pls help me.. :( IN PAGE1.ASPX
If CheckBox1.Checked = True Then Session("value") = "chkT"
IN PAGE2.ASPXDim check As String = Session("value") If (check = "chkT") Then some work code goes here Else another some work code goes here End If
and checkbox is given toAutoPostBack="True"
but the problem is when i run the application and checked the checkbox going fine and again without closing application when i checked off the checkbox i'm geting the result as the previous one only.. again when i close and start the application and now going without checking the checkbox, going fine, doing the work that should be if checkbox is not checked. but againg with out closing the application when i check the checkbox i'm getting the work as the previous one only i don't know where the wrong is. whether there is any syntax error? could you please help .. thanks in advance dittu -
ASP.NET C# MCPD Exam (70-562)i don't know about that but some one reffered me this one. http://www.transcender.com/[^]
-
how to pass values to another aspx page without redirecting to that page?thank you very much to every one who given reply. now i got that using sessions with out displaying the page2.. even though this is my first post i'm really encouraged with all your support... :) thank you dittu :cool: :thumbsup:
-
how to pass values to another aspx page without redirecting to that page?what exactly i was asking is how to send a value from page1 to page2 with out redirect to page2. if we use query string we write as: in page1: Server.Transfer("page2.aspx?value=checked") in page2: string str= Request.QueryString("value") in the above senario page2 is displaying on the browser which should not occur. so kindly you please send me some suggestions for that thanks dittu
-
how to pass values to another aspx page without redirecting to that page?yes what you said is correct. but can you tell me how to send to that page with out calling that page. actually my problem is : i'm having two aspx pages namely page1 and page2 page1 has 'print' button and checkbox. so i need to send the information to page2 when print button is clicked whether checkbox is checked or not? so can you please elaborate your answer. thank you very much. regards, dittu
-
how to pass values to another aspx page without redirecting to that page?i'm newbee. i tried to pass values but every time i'm usint server.transfer or response.redirect. is is possible to pass the values to that page without displaying that page.