Click here to Skip to main content
15,908,843 members

Comments by ThatGuy7 (Top 14 by date)

ThatGuy7 24-Oct-14 22:36pm View    
Ok Tadit, I wasn't gonna post the entire code but I thought it'd be better to put it up. As you can see the panel "pnlPopup" consists of an UpdatePanel and the DetailsView. Ps. the code is still unfinished.

This is the screenshot of what the current output looks like.

http://i.imgur.com/ugIeaW5.png

First, the user fills in the form and after clicking on "Submit" it should bring up the DetailsView in ModalPopupExtender. I want to pass all the data from the form into the TextBoxes in the DetailsView. And my answer is no to your question about checking for the postback. Could you please kindly identify the issue? Thank you so much for your help.
ThatGuy7 24-Oct-14 4:21am View    
Just checked the RowCount and it was 0. Could it be because the DetailsView dvConfirmNewStock is inside a panel and the panel is a ModalPopupExtender therefore it's not present? In which case, how can I get this right?
ThatGuy7 24-Oct-14 4:07am View    
Hi Snesh thanks for your comment!
I got rid of ReadOnly="True" but the situation is still the same unfortunately..
But that is a good lesson I didn't know we can't get value from readonly textbox. I am a newbie just started learning ASP.NET C# last week.
ThatGuy7 24-Oct-14 3:59am View    
Hi Tadit thanks for your advice again!
I tried this and now I'm getting the ArgumentOutOfRangeException.
I have a screenshot of a part of my code. Could you please have a look at it and tell me what is wrong?

http://i.imgur.com/MjOEmSR.png

Thanks
ThatGuy7 23-Oct-14 11:39am View    
OK so how is it not assigning anything into tb2.Text?