Click here to Skip to main content
15,907,395 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: ASP.NET 1.1 C# DataGrid Pin
.NET4Ever28-Jun-07 17:48
.NET4Ever28-Jun-07 17:48 
GeneralRe: ASP.NET 1.1 C# DataGrid Pin
Christian Graus28-Jun-07 21:30
protectorChristian Graus28-Jun-07 21:30 
GeneralRe: ASP.NET 1.1 C# DataGrid Pin
.NET4Ever30-Jun-07 16:53
.NET4Ever30-Jun-07 16:53 
QuestionLicensing Pin
qbak2228-Jun-07 11:47
qbak2228-Jun-07 11:47 
AnswerRe: Licensing Pin
Christian Graus28-Jun-07 14:24
protectorChristian Graus28-Jun-07 14:24 
QuestionPlease Help with passing object from server side to client side Pin
DonVBguy28-Jun-07 10:25
DonVBguy28-Jun-07 10:25 
AnswerRe: Please Help with passing object from server side to client side Pin
Amit Kumar G28-Jun-07 14:20
Amit Kumar G28-Jun-07 14:20 
AnswerRe: Please Help with passing object from server side to client side Pin
Christian Graus28-Jun-07 14:30
protectorChristian Graus28-Jun-07 14:30 
The way to do this is to insert it into a script, something like

string script = "var myVar = '" + myControl.ClientID + "';";
RegisterClientScriptBlock(script);

or in your aspx

var myVar = '<%#myControl.ClientID%>';"

In the first case, you need to add a script block to the string, top and bottom, and in the second, you need to put it in a script block. You can pass any value you can turn into a string, I'm just illustrating using a control's client side id, as that's the value I find is mostly often needed, for UI or AJAX stuff on the client side.


Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

QuestionRe: Please Help with passing object from server side to client side Pin
Amit Kumar G28-Jun-07 14:40
Amit Kumar G28-Jun-07 14:40 
AnswerRe: Please Help with passing object from server side to client side Pin
Christian Graus28-Jun-07 14:57
protectorChristian Graus28-Jun-07 14:57 
QuestionPage_LoadComplete for User Controls Pin
Keith Andersch28-Jun-07 9:28
Keith Andersch28-Jun-07 9:28 
Questionasp buttonfield Pin
boyindie28-Jun-07 8:42
boyindie28-Jun-07 8:42 
AnswerRe: asp buttonfield Pin
kubben28-Jun-07 8:57
kubben28-Jun-07 8:57 
GeneralRe: asp buttonfield Pin
boyindie28-Jun-07 9:00
boyindie28-Jun-07 9:00 
GeneralRe: asp buttonfield Pin
kubben28-Jun-07 9:05
kubben28-Jun-07 9:05 
GeneralRe: asp buttonfield Pin
boyindie28-Jun-07 9:29
boyindie28-Jun-07 9:29 
GeneralRe: asp buttonfield Pin
kubben28-Jun-07 9:33
kubben28-Jun-07 9:33 
Questionwebservice - copy file to remote server Pin
Dpriya28-Jun-07 8:36
Dpriya28-Jun-07 8:36 
AnswerRe: webservice - copy file to remote server Pin
kubben28-Jun-07 8:56
kubben28-Jun-07 8:56 
QuestionHow to called server side function on onblur event of textbox Pin
rahul.net1128-Jun-07 5:58
rahul.net1128-Jun-07 5:58 
AnswerRe: How to called server side function on onblur event of textbox Pin
kubben28-Jun-07 9:01
kubben28-Jun-07 9:01 
AnswerRe: How to called server side function on onblur event of textbox Pin
Schatak24-May-11 1:14
professionalSchatak24-May-11 1:14 
QuestionASP Menu Item Pin
gavthegenius28-Jun-07 5:48
gavthegenius28-Jun-07 5:48 
AnswerRe: ASP Menu Item Pin
martin_hughes28-Jun-07 7:29
martin_hughes28-Jun-07 7:29 
QuestionSystem Information Pin
oskardiazdeleon28-Jun-07 5:41
oskardiazdeleon28-Jun-07 5:41 

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.