Click here to Skip to main content
15,922,650 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how to make source code uneditable Pin
N a v a n e e t h14-Jul-09 16:16
N a v a n e e t h14-Jul-09 16:16 
GeneralRe: how to make source code uneditable Pin
Abhijit Jana14-Jul-09 20:52
professionalAbhijit Jana14-Jul-09 20:52 
AnswerRe: how to make source code uneditable Pin
Brij14-Jul-09 8:51
mentorBrij14-Jul-09 8:51 
AnswerRe: how to make source code uneditable Pin
Christian Graus14-Jul-09 11:56
protectorChristian Graus14-Jul-09 11:56 
AnswerRe: how to make source code uneditable Pin
Curtis Schlak.14-Jul-09 16:42
Curtis Schlak.14-Jul-09 16:42 
QuestionFetching value from textbox dyanamically Pin
ashutosh_karna14-Jul-09 8:27
ashutosh_karna14-Jul-09 8:27 
AnswerRe: Fetching value from textbox dyanamically Pin
Brij14-Jul-09 8:35
mentorBrij14-Jul-09 8:35 
AnswerRe: Fetching value from textbox dyanamically Pin
Abhijit Jana14-Jul-09 8:41
professionalAbhijit Jana14-Jul-09 8:41 
Try to debug your application and check which line is throwing the exception. check the index of the array.

One more important thing, you are creating the textboxes runtime. You need to create the textbox before Page_load(). Because in ASP.NET Page life cycle, ViewState Data and PostBack data loads just before the Pageload. So if you create any control after page load you can't restore the postback and view state data.
The best option, try to create your controls in Page_PreInit() Event.

cheers,
Abhijit
CodeProject MVP
Web Site:abhijitjana.net
View My Recent Article

QuestionApplying different themes to same page or Applying different styles to same page Pin
jophinmichael14-Jul-09 6:26
jophinmichael14-Jul-09 6:26 
AnswerRe: Applying different themes to same page or Applying different styles to same page Pin
Abhijit Jana14-Jul-09 7:20
professionalAbhijit Jana14-Jul-09 7:20 
GeneralRe: Applying different themes to same page or Applying different styles to same page Pin
jophinmichael14-Jul-09 7:45
jophinmichael14-Jul-09 7:45 
AnswerRe: Applying different themes to same page or Applying different styles to same page Pin
Brij14-Jul-09 7:32
mentorBrij14-Jul-09 7:32 
GeneralRe: Applying different themes to same page or Applying different styles to same page Pin
jophinmichael14-Jul-09 9:13
jophinmichael14-Jul-09 9:13 
AnswerRe: Applying different themes to same page or Applying different styles to same page Pin
Abhijit Jana14-Jul-09 9:22
professionalAbhijit Jana14-Jul-09 9:22 
GeneralRe: Applying different themes to same page or Applying different styles to same page Pin
jophinmichael18-Jul-09 5:04
jophinmichael18-Jul-09 5:04 
GeneralRe: Applying different themes to same page or Applying different styles to same page Pin
Brij14-Jul-09 9:33
mentorBrij14-Jul-09 9:33 
QuestionIframe source , Are cookies playing a role in this case? Pin
vjvjvjvj14-Jul-09 5:50
vjvjvjvj14-Jul-09 5:50 
AnswerRe: Iframe source , Are cookies playing a role in this case? Pin
Kannan Ar14-Jul-09 6:05
professionalKannan Ar14-Jul-09 6:05 
AnswerRe: Iframe source , Are cookies playing a role in this case? Pin
DoctorMick14-Jul-09 6:17
DoctorMick14-Jul-09 6:17 
GeneralRe: Iframe source , Are cookies playing a role in this case? Pin
vjvjvjvj14-Jul-09 6:59
vjvjvjvj14-Jul-09 6:59 
GeneralListbox Control giving NULL reference exception Pin
PDTUM14-Jul-09 5:39
PDTUM14-Jul-09 5:39 
GeneralRe: Listbox Control giving NULL reference exception Pin
Kannan Ar14-Jul-09 5:58
professionalKannan Ar14-Jul-09 5:58 
GeneralRe: Listbox Control giving NULL reference exception Pin
PDTUM14-Jul-09 6:08
PDTUM14-Jul-09 6:08 
GeneralRe: Listbox Control giving NULL reference exception Pin
Kannan Ar14-Jul-09 6:14
professionalKannan Ar14-Jul-09 6:14 
GeneralRe: Listbox Control giving NULL reference exception Pin
DoctorMick14-Jul-09 6:19
DoctorMick14-Jul-09 6:19 

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.