Click here to Skip to main content
16,005,181 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Unable to start debugging on WebServer Pin
_AK_19-Sep-06 0:18
_AK_19-Sep-06 0:18 
GeneralRe: Unable to start debugging on WebServer Pin
Karmendra Suthar19-Sep-06 0:20
Karmendra Suthar19-Sep-06 0:20 
AnswerRe: Unable to start debugging on WebServer Pin
Suresh Pirsquare19-Sep-06 2:05
Suresh Pirsquare19-Sep-06 2:05 
AnswerRe: Unable to start debugging on WebServer Pin
chukka srinu19-Sep-06 10:14
chukka srinu19-Sep-06 10:14 
Questionocx control problem!!!! Pin
vijay258318-Sep-06 18:54
vijay258318-Sep-06 18:54 
AnswerRe: ocx control problem!!!! Pin
minhpc_bk19-Sep-06 1:07
minhpc_bk19-Sep-06 1:07 
QuestionSOAP - The remote server returned an error: (500) Pin
Amit Kumar G18-Sep-06 18:35
Amit Kumar G18-Sep-06 18:35 
QuestionNeed help using PostBackURL Pin
Meena T Shivaram18-Sep-06 9:44
Meena T Shivaram18-Sep-06 9:44 
hi friends,
I'm trying an example on PostBackURL.My application has two pages,page1.aspx & page2.aspx. On page1,I've a textbox & a calendar with 2 button controls.I'm trying to display the selected contents on Page1 into a label on Page2.Here's what my code on Page1.aspx looks like

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Label1.Text = "Hello " & TextBox1.Text & "
" & _
"Date Selected: " & Calendar1.SelectedDate.ToShortDateString()
End Sub

<asp:button id="Button1" runat="server" text="Submit Page to itself" onclick="Button1_Click">

<asp:button id="Button2" runat="server" text="Submit Page to Page2.aspx" postbackurl="~/Page2.aspx">



On Page2.aspx, I've included a virtual path to reference page1 &
Code on page2.aspx is:
Protected Sub PageLoad(ByVal sender As Object, ByVal e As System.EventArgs)
lblDisplay.Text = "Hello" & PreviousPage.pp_TextBox1.Text & "
" & _
"Date Selected: " & _
PreviousPage.pp_Calendar1.SelectedDate.ToShortDateString()
End Sub

I'm not getting any errors & neither am i getting any display on Page2.aspx. can anyone please help me find the solution ?




Thanks a lot in advance..
AnswerRe: Need help using PostBackURL Pin
Britney S. Morales18-Sep-06 11:05
Britney S. Morales18-Sep-06 11:05 
GeneralRe: Need help using PostBackURL Pin
Meena T Shivaram19-Sep-06 3:47
Meena T Shivaram19-Sep-06 3:47 
GeneralRe: Need help using PostBackURL Pin
Britney S. Morales19-Sep-06 4:37
Britney S. Morales19-Sep-06 4:37 
GeneralRe: Need help using PostBackURL Pin
Meena T Shivaram19-Sep-06 5:25
Meena T Shivaram19-Sep-06 5:25 
AnswerRe: Need help using PostBackURL Pin
minhpc_bk18-Sep-06 15:01
minhpc_bk18-Sep-06 15:01 
GeneralRe: Need help using PostBackURL Pin
Meena T Shivaram19-Sep-06 3:56
Meena T Shivaram19-Sep-06 3:56 
GeneralRe: Need help using PostBackURL Pin
minhpc_bk20-Sep-06 0:26
minhpc_bk20-Sep-06 0:26 
GeneralRe: Need help using PostBackURL Pin
Meena T Shivaram20-Sep-06 5:06
Meena T Shivaram20-Sep-06 5:06 
Questionusing javascript with Textbox in composite controls of asp.net Pin
deepaks318-Sep-06 9:35
deepaks318-Sep-06 9:35 
AnswerRe: using javascript with Textbox in composite controls of asp.net Pin
Not Active18-Sep-06 10:33
mentorNot Active18-Sep-06 10:33 
QuestionSOAP Message Pin
Amit Kumar G18-Sep-06 8:06
Amit Kumar G18-Sep-06 8:06 
AnswerRe: SOAP Message Pin
Not Active18-Sep-06 8:54
mentorNot Active18-Sep-06 8:54 
GeneralRe: SOAP Message Pin
Amit Kumar G18-Sep-06 18:33
Amit Kumar G18-Sep-06 18:33 
GeneralRe: SOAP Message Pin
Not Active18-Sep-06 18:44
mentorNot Active18-Sep-06 18:44 
GeneralRe: SOAP Message Pin
Amit Kumar G18-Sep-06 18:55
Amit Kumar G18-Sep-06 18:55 
AnswerRe: SOAP Message Pin
Neeraj Arora18-Sep-06 18:35
Neeraj Arora18-Sep-06 18:35 
QuestionMemory management Pin
harshActsw18-Sep-06 7:31
harshActsw18-Sep-06 7:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.