Click here to Skip to main content
15,918,742 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to avoid priniting empty pages ? Pin
I Sam Asir Aloysious11-May-09 19:37
I Sam Asir Aloysious11-May-09 19:37 
QuestionClipboard problem in ASP.NET Pin
specialdreamsin11-May-09 18:49
specialdreamsin11-May-09 18:49 
QuestionDebug Windows service Pin
Sundeep Ganiga11-May-09 18:28
Sundeep Ganiga11-May-09 18:28 
AnswerRe: Debug Windows service Pin
Abhijit Jana11-May-09 19:29
professionalAbhijit Jana11-May-09 19:29 
GeneralRe: Debug Windows service Pin
Sundeep Ganiga11-May-09 23:03
Sundeep Ganiga11-May-09 23:03 
QuestionComo crear un menu dinamico segun rol del usuario Pin
MaruLau11-May-09 17:19
MaruLau11-May-09 17:19 
AnswerRe: Como crear un menu dinamico segun rol del usuario Pin
Ramesh Swaminathan11-May-09 18:53
Ramesh Swaminathan11-May-09 18:53 
GeneralRe: Como crear un menu dinamico segun rol del usuario Pin
Ramesh Swaminathan11-May-09 18:55
Ramesh Swaminathan11-May-09 18:55 
QuestionRe: Como crear un menu dinamico segun rol del usuario Pin
MaruLau18-May-09 14:14
MaruLau18-May-09 14:14 
QuestionTextBox date validation Pin
CodingLover11-May-09 16:15
CodingLover11-May-09 16:15 
AnswerRe: TextBox date validation Pin
CodingLover11-May-09 17:03
CodingLover11-May-09 17:03 
GeneralRe: TextBox date validation Pin
Baran M11-May-09 18:48
Baran M11-May-09 18:48 
Questionselect the checkbox, can see the additional grid view! [modified] Pin
HyeRyung11-May-09 14:40
HyeRyung11-May-09 14:40 
QuestionOptimize Your db4o Techniques in 6 Pages! Pin
Lyndsey Clevesy11-May-09 11:46
Lyndsey Clevesy11-May-09 11:46 
QuestionAdd Bak file Pin
hahii11-May-09 11:07
hahii11-May-09 11:07 
AnswerRe: Add Bak file Pin
Ramesh Swaminathan11-May-09 19:07
Ramesh Swaminathan11-May-09 19:07 
AnswerRe: Add Bak file Pin
Abhijit Jana11-May-09 19:33
professionalAbhijit Jana11-May-09 19:33 
Questioncan't get RegisterStartupScript with src=path\filename to work Pin
dd31415911-May-09 11:00
dd31415911-May-09 11:00 
AnswerRe: can't get RegisterStartupScript with src=path\filename to work Pin
dd31415911-May-09 11:03
dd31415911-May-09 11:03 
Questionget the cursor position in a textarea Pin
Member 364582311-May-09 9:18
Member 364582311-May-09 9:18 
AnswerRe: get the cursor position in a textarea Pin
N a v a n e e t h11-May-09 16:27
N a v a n e e t h11-May-09 16:27 
QuestionDatagrid edit command textbox reference Pin
janetb9911-May-09 4:34
janetb9911-May-09 4:34 
AnswerRe: Datagrid edit command textbox reference Pin
uoods11-May-09 9:04
uoods11-May-09 9:04 
I think you should break your statements into different parts. Do you feel pressured to stick all those functions on one single line? Doing this will allow you to see the problem more quickly, fix it and move on. This example probably has bugs in it, but try something like this:
If e.CommandName = "Edit" Then
   dgAnswers.EditItemIndex = e.Item.ItemIndex
   Dim txt as Textbox
   txt = CType(dgAnswers.Items(e.Item.ItemIndex).FindControl("txtAnsEdit"),TextBox)
   If not isnothing(txt) then
      'since you have the object reference assigned to txt, assign the value using this alias
      txt.Text = "tada"
   Else
      'Could not find the textbox.
   End if
End If

QuestionASP.NET Login & Sessions question (related to not using built-in MSSQL roles & Web Administration) : repost. Pin
EliottA11-May-09 2:50
EliottA11-May-09 2:50 
AnswerRe: ASP.NET Login & Sessions question (related to not using built-in MSSQL roles & Web Administration) : repost. Pin
N a v a n e e t h11-May-09 3:33
N a v a n e e t h11-May-09 3:33 

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.