Click here to Skip to main content
15,891,847 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionsolution to PostBack? [modified] Pin
blurMember6-Aug-06 18:04
blurMember6-Aug-06 18:04 
AnswerRe: solution to PostBack? Pin
l0kke7-Aug-06 0:44
l0kke7-Aug-06 0:44 
GeneralRe: solution to PostBack? Pin
blurMember7-Aug-06 20:28
blurMember7-Aug-06 20:28 
GeneralRe: solution to PostBack? Pin
l0kke8-Aug-06 11:30
l0kke8-Aug-06 11:30 
AnswerRe: solution to PostBack? Pin
jitu gupta7-Aug-06 18:31
jitu gupta7-Aug-06 18:31 
GeneralRe: solution to PostBack? Pin
blurMember7-Aug-06 20:30
blurMember7-Aug-06 20:30 
AnswerRe: solution to PostBack? Pin
IamMohan7-Aug-06 19:00
IamMohan7-Aug-06 19:00 
GeneralRe: solution to PostBack? Pin
blurMember7-Aug-06 20:36
blurMember7-Aug-06 20:36 
I tried and I faced same error.

I should be clearer with the error. It says:

if (!Page.IsPostBack)<br />
{<br />
    TextBox t = (TextBox)this.Page.FindControl("txtStartDate");<br />
    lblStartDate.Text = t.Text;<br />
}

<big>lblStartDate.Text = t.Text;</big> The error stops at this line saying "Object reference not set to an instance of an object."

The troubleshooting tips were:
Use the "new" keyword to create an object instance.
Check to determine if the object is null before calling the method.

thanks in advance. Much appreciated.

JokeRe: solution to PostBack? Pin
blurMember7-Aug-06 20:37
blurMember7-Aug-06 20:37 
GeneralRe: solution to PostBack? Pin
IamMohan8-Aug-06 1:18
IamMohan8-Aug-06 1:18 
QuestionRe: solution to PostBack? Pin
blurMember9-Aug-06 20:27
blurMember9-Aug-06 20:27 
Questionhow to execute a .exe file with asp.net Pin
KSCsoft6-Aug-06 18:00
KSCsoft6-Aug-06 18:00 
AnswerRe: how to execute a .exe file with asp.net Pin
Colin Angus Mackay6-Aug-06 22:19
Colin Angus Mackay6-Aug-06 22:19 
QuestionDebug problem Pin
ypsyong6-Aug-06 15:34
ypsyong6-Aug-06 15:34 
QuestionWeather WebService Pin
Tiger4566-Aug-06 14:41
Tiger4566-Aug-06 14:41 
AnswerRe: Weather WebService Pin
Ravi Bhavnani6-Aug-06 15:02
professionalRavi Bhavnani6-Aug-06 15:02 
Questionwrite dataset to a database Pin
keroed_edmond6-Aug-06 14:13
keroed_edmond6-Aug-06 14:13 
AnswerRe: write dataset to a database Pin
postmaster@programmingknowledge.com6-Aug-06 16:55
postmaster@programmingknowledge.com6-Aug-06 16:55 
QuestionHow do I stop the Parent masterpage from performaing a refresh when the child masterpage's content placeholder fires a redirect causing flickering at the master page level. Pin
RoahRash6-Aug-06 13:50
RoahRash6-Aug-06 13:50 
AnswerRe: How do I stop the Parent masterpage from performaing a refresh when the child masterpage's content placeholder fires a redirect causing flickering at the master page level. Pin
Guffa6-Aug-06 21:43
Guffa6-Aug-06 21:43 
GeneralRe: How do I stop the Parent masterpage from performaing a refresh when the child masterpage's content placeholder fires a redirect causing flickering at the master page level. Pin
RoahRash7-Aug-06 5:52
RoahRash7-Aug-06 5:52 
GeneralRe: How do I stop the Parent masterpage from performaing a refresh when the child masterpage's content placeholder fires a redirect causing flickering at the master page level. [modified] Pin
RoahRash7-Aug-06 11:00
RoahRash7-Aug-06 11:00 
AnswerRe: How do I stop the Parent masterpage from performaing a refresh when the child masterpage's content placeholder fires a redirect causing flickering at the master page level. Pin
Guffa7-Aug-06 13:25
Guffa7-Aug-06 13:25 
QuestionSOAP extension code not executing Pin
Leithaus6-Aug-06 9:03
Leithaus6-Aug-06 9:03 
Questioninserting data thru web forms Pin
Kunal P6-Aug-06 0:22
Kunal P6-Aug-06 0:22 

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.