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

ASP.NET

 
GeneralRe: file upload Pin
rahuuul179-Dec-09 0:30
rahuuul179-Dec-09 0:30 
GeneralRe: file upload Pin
dan!sh 9-Dec-09 0:43
professional dan!sh 9-Dec-09 0:43 
GeneralRe: file upload Pin
rahuuul179-Dec-09 0:45
rahuuul179-Dec-09 0:45 
QuestionHow to open a url in a new browser window in Ajax page Pin
Nekkantidivya9-Dec-09 0:05
Nekkantidivya9-Dec-09 0:05 
AnswerRe: How to open a url in a new browser window in Ajax page Pin
Anurag Gandhi9-Dec-09 0:25
professionalAnurag Gandhi9-Dec-09 0:25 
AnswerRe: How to open a url in a new browser window in Ajax page Pin
Abhishek Sur9-Dec-09 1:04
professionalAbhishek Sur9-Dec-09 1:04 
Questiondisplay image in repeater and retrieve its tooltip value Pin
gautamamit88-Dec-09 23:31
gautamamit88-Dec-09 23:31 
AnswerRe: display image in repeater and retrieve its tooltip value Pin
Abhishek Sur9-Dec-09 2:49
professionalAbhishek Sur9-Dec-09 2:49 
First of all,

You might have used ItemDataBound to set the value of TextBox. Also to remind, if you are using a Repeater, and the imagebutton is inside the ItemTemplate, you are having more than one ImageButton while there will be only on textbox which is placed outside the textbox.

If you want the text to appear whenever you click on the ImageButton, there is also a problem. You said, you have placed the Repeater inside an undatepanel while the textbox is outside it. In case of UpdatePanel, a separate form is created in the client and posted to the server as request with only those controls which are inside the UpdatePanel. Thus in server side, if you set the value of the Textbox, it will not be transferred to the client and therefore will not update the control in the client.

So Rather than updating the server side object, you can either place the textbox inside the update panel or you inject some javascript which will update the value of the textbox upon receiving the response to the client.

I am talking about

ScriptManager1.RegisterStartupScript()


I hope you got the idea.
Cheers.
Wink | ;)

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript

Questionhow to pass gridview textbox value to javascript Pin
ravihd8-Dec-09 23:31
ravihd8-Dec-09 23:31 
AnswerRe: how to pass gridview textbox value to javascript Pin
Dinesh Mani8-Dec-09 23:54
Dinesh Mani8-Dec-09 23:54 
GeneralRe: how to pass gridview textbox value to javascript Pin
ravihd9-Dec-09 0:59
ravihd9-Dec-09 0:59 
GeneralRe: how to pass gridview textbox value to javascript Pin
Dinesh Mani9-Dec-09 1:17
Dinesh Mani9-Dec-09 1:17 
Questionerror in showing blogs in the web site Pin
Amit Spadez8-Dec-09 23:29
professionalAmit Spadez8-Dec-09 23:29 
AnswerRe: error in showing blogs in the web site Pin
Dinesh Mani8-Dec-09 23:46
Dinesh Mani8-Dec-09 23:46 
GeneralRe: error in showing blogs in the web site Pin
Amit Spadez9-Dec-09 0:07
professionalAmit Spadez9-Dec-09 0:07 
GeneralRe: error in showing blogs in the web site Pin
rahuuul179-Dec-09 0:12
rahuuul179-Dec-09 0:12 
GeneralRe: error in showing blogs in the web site Pin
Dinesh Mani9-Dec-09 0:22
Dinesh Mani9-Dec-09 0:22 
QuestionPaging toGridView Pin
rahul.net118-Dec-09 23:13
rahul.net118-Dec-09 23:13 
AnswerRe: Paging toGridView Pin
Blue_Boy8-Dec-09 23:30
Blue_Boy8-Dec-09 23:30 
GeneralRe: Paging toGridView Pin
rahul.net118-Dec-09 23:41
rahul.net118-Dec-09 23:41 
GeneralRe: Paging toGridView Pin
Blue_Boy8-Dec-09 23:44
Blue_Boy8-Dec-09 23:44 
Questionerror in the login web page Pin
Amit Spadez8-Dec-09 23:06
professionalAmit Spadez8-Dec-09 23:06 
AnswerRe: error in the login web page Pin
Blue_Boy8-Dec-09 23:34
Blue_Boy8-Dec-09 23:34 
GeneralRe: error in the login web page Pin
Amit Spadez9-Dec-09 0:10
professionalAmit Spadez9-Dec-09 0:10 
AnswerRe: error in the login web page Pin
Dinesh Mani9-Dec-09 0:36
Dinesh Mani9-Dec-09 0:36 

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.