Click here to Skip to main content
15,886,011 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: About image Processing Pin
Christian Graus26-Nov-08 10:07
protectorChristian Graus26-Nov-08 10:07 
GeneralRe: About image Processing Pin
sanjay3027-Nov-08 23:50
sanjay3027-Nov-08 23:50 
GeneralRe: About image Processing Pin
sanjay3030-Nov-08 20:15
sanjay3030-Nov-08 20:15 
QuestionInputbox in Asp.net Using Visual Basic Language Pin
Ryno Engelbrecht25-Nov-08 22:22
Ryno Engelbrecht25-Nov-08 22:22 
AnswerRe: Inputbox in Asp.net Using Visual Basic Language Pin
Christian Graus25-Nov-08 23:09
protectorChristian Graus25-Nov-08 23:09 
GeneralRe: Inputbox in Asp.net Using Visual Basic Language Pin
Ryno Engelbrecht25-Nov-08 23:23
Ryno Engelbrecht25-Nov-08 23:23 
GeneralRe: Inputbox in Asp.net Using Visual Basic Language Pin
Christian Graus25-Nov-08 23:28
protectorChristian Graus25-Nov-08 23:28 
OK, this is off the cuff, and will need debugging.

Add a hidden field called hf1.

In your codebehind write javascript like this

string js = "var hf1 = '" + hf1.ClientID + "';";

Of course, wrap it in javascript tags and insert it into your page. Also, put the following method in

void WriteHidden(tb)
{
var hf = document.getElementById(hf1); // this uses the client Id you wrote
if (hf)
{
hf.value = tb.value; // Not sure about this bit, the property may be 'text' instead of 'value', or even something else. It may also be different between IE and Firefox
}

}

Then write your textbox so it has the following attribute:

onblur="WriteHidden(this);"

Then when the focus leaves the textbox, the textbox is passed to the method, and hopefully, the value is copied to the hidden field. Then you can access this value from the codebehind.

Christian Graus

Driven to the arms of OSX by Vista.

QuestionTool for analyse contents of Viewstate Pin
anderslundsgard25-Nov-08 22:08
anderslundsgard25-Nov-08 22:08 
AnswerRe: Tool for analyse contents of Viewstate Pin
Paddy Boyd26-Nov-08 2:16
Paddy Boyd26-Nov-08 2:16 
GeneralRe: Tool for analyse contents of Viewstate Pin
anderslundsgard26-Nov-08 6:49
anderslundsgard26-Nov-08 6:49 
QuestionUse variable from the code behind Pin
Kefaleas Stavros25-Nov-08 21:55
Kefaleas Stavros25-Nov-08 21:55 
AnswerRe: Use variable from the code behind Pin
John Gathogo25-Nov-08 22:12
John Gathogo25-Nov-08 22:12 
GeneralRe: Use variable from the code behind Pin
Kefaleas Stavros25-Nov-08 22:16
Kefaleas Stavros25-Nov-08 22:16 
AnswerRe: Use variable from the code behind Pin
Christian Graus25-Nov-08 23:13
protectorChristian Graus25-Nov-08 23:13 
GeneralRe: Use variable from the code behind Pin
Kefaleas Stavros25-Nov-08 23:17
Kefaleas Stavros25-Nov-08 23:17 
GeneralRe: Use variable from the code behind Pin
Christian Graus25-Nov-08 23:22
protectorChristian Graus25-Nov-08 23:22 
GeneralRe: Use variable from the code behind Pin
Kefaleas Stavros25-Nov-08 23:30
Kefaleas Stavros25-Nov-08 23:30 
GeneralRe: Use variable from the code behind Pin
Christian Graus26-Nov-08 10:08
protectorChristian Graus26-Nov-08 10:08 
QuestionSharing master Page Pin
ALAQUNAIBI25-Nov-08 21:34
ALAQUNAIBI25-Nov-08 21:34 
AnswerRe: Sharing master Page Pin
Christian Graus25-Nov-08 21:44
protectorChristian Graus25-Nov-08 21:44 
QuestionHow to move the data reader Pin
nour12325-Nov-08 21:12
nour12325-Nov-08 21:12 
AnswerRe: How to move the data reader Pin
Christian Graus25-Nov-08 21:14
protectorChristian Graus25-Nov-08 21:14 
GeneralRe: How to move the data reader Pin
nour12325-Nov-08 21:21
nour12325-Nov-08 21:21 
GeneralRe: How to move the data reader Pin
Christian Graus25-Nov-08 21:33
protectorChristian Graus25-Nov-08 21:33 
GeneralRe: How to move the data reader Pin
nour12325-Nov-08 21:42
nour12325-Nov-08 21:42 

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.