Click here to Skip to main content
15,889,116 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: help wit dropdonwbox sql binding Pin
postmaster@programmingknowledge.com19-Aug-06 2:22
postmaster@programmingknowledge.com19-Aug-06 2:22 
GeneralRe: help wit dropdonwbox sql binding Pin
neodeaths19-Aug-06 8:39
neodeaths19-Aug-06 8:39 
QuestionCalling Java function on page load [modified] Pin
DineshSharma18-Aug-06 21:58
DineshSharma18-Aug-06 21:58 
AnswerRe: Calling Java function on page load Pin
Guffa18-Aug-06 22:44
Guffa18-Aug-06 22:44 
GeneralRe: Calling Java function on page load Pin
DineshSharma18-Aug-06 23:46
DineshSharma18-Aug-06 23:46 
QuestionProblem in athuntication on webserver Pin
nabeelkhan18-Aug-06 21:58
nabeelkhan18-Aug-06 21:58 
QuestionSetting Conrol page (.ascx) dynamicly. Pin
NaNg1524118-Aug-06 21:46
NaNg1524118-Aug-06 21:46 
QuestionProblem in using PreviousPage Property [modified] Pin
Jay_se18-Aug-06 21:27
Jay_se18-Aug-06 21:27 
Hi,

I am using asp.net 2.0. In this,i am using Cross Page Posting. From the second page, i am trying to reference a control (Label) in the prevoius page using 'PreviousPage' property.

Here, in the first page, that Label control is placed within the <asp:Content> tag. (ie I am using MasterPage's ContentPlaceHolder).

Page.PreviousPage.FindControl("lebelid") method return null.

I am tried with refering the NamingContainer before refering the actual control (Label), which is placed within that NamingContainer. It also gives me the output null.

In my previous page, the Label control present within the tag,

<asp:Content ID="Content5" ContentPlaceHolderID="BodyContent" Runat="Server">

</asp:content>

In my second page (using same masterpage) code behind file, i am refering like this,( in Page_Load event)

ContentPlaceHolder myContent = (ContentPlaceHolder)Page.PreviousPage.FindControl("BodyContent");

Still it returns null.

Can anyone help me in this? Thanks in advance.



Regards,

Jay

AnswerRe: Problem in using PreviousPage Property Pin
minhpc_bk19-Aug-06 4:00
minhpc_bk19-Aug-06 4:00 
GeneralThank you Pin
Jay_se20-Aug-06 18:06
Jay_se20-Aug-06 18:06 
GeneralRe: Thank you Pin
minhpc_bk21-Aug-06 0:40
minhpc_bk21-Aug-06 0:40 
GeneralThank you Again Pin
Jay_se21-Aug-06 3:08
Jay_se21-Aug-06 3:08 
QuestionSession.sessionID Pin
meghs11118-Aug-06 21:23
meghs11118-Aug-06 21:23 
AnswerRe: Session.sessionID Pin
Coding C#18-Aug-06 21:39
Coding C#18-Aug-06 21:39 
Questioncontext menu using javascript Pin
248912818-Aug-06 20:37
248912818-Aug-06 20:37 
AnswerRe: context menu using javascript Pin
Sathesh Sakthivel18-Aug-06 21:14
Sathesh Sakthivel18-Aug-06 21:14 
QuestionA problem with Cross Page Posting in ASP.NET Webpages Pin
Hussein Madani Ghomi18-Aug-06 20:02
Hussein Madani Ghomi18-Aug-06 20:02 
AnswerRe: A problem with Cross Page Posting in ASP.NET Webpages Pin
Sathesh Sakthivel18-Aug-06 21:21
Sathesh Sakthivel18-Aug-06 21:21 
QuestionHow to validate a textbox inside the datagrid [modified] Pin
kavithapuranik18-Aug-06 19:24
kavithapuranik18-Aug-06 19:24 
AnswerRe: How to validate a textbox inside the datagrid Pin
coolestCoder18-Aug-06 20:09
coolestCoder18-Aug-06 20:09 
QuestionAutosave using Ajax in every 10 sec. Pin
Amit Agarrwal18-Aug-06 18:59
Amit Agarrwal18-Aug-06 18:59 
AnswerRe: Autosave using Ajax in every 10 sec. Pin
HRiazi19-Aug-06 1:14
HRiazi19-Aug-06 1:14 
GeneralRe: Autosave using Ajax in every 10 sec. Pin
Amit Agarrwal19-Aug-06 1:45
Amit Agarrwal19-Aug-06 1:45 
GeneralRe: Autosave using Ajax in every 10 sec. Pin
HRiazi19-Aug-06 5:55
HRiazi19-Aug-06 5:55 
Questioninsert sound into sqlserver Pin
suri8318-Aug-06 11:32
suri8318-Aug-06 11:32 

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.