Click here to Skip to main content
15,917,702 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Select query from datetime field Pin
treuveni9-Nov-10 3:51
treuveni9-Nov-10 3:51 
QuestionView and textbox Pin
future38396-Nov-10 15:40
future38396-Nov-10 15:40 
AnswerRe: View and textbox Pin
Eddy Vluggen8-Nov-10 9:02
professionalEddy Vluggen8-Nov-10 9:02 
QuestionMVC and Dropdownliast Pin
future38396-Nov-10 15:17
future38396-Nov-10 15:17 
AnswerRe: MVC and Dropdownliast Pin
TweakBird9-Nov-10 7:21
TweakBird9-Nov-10 7:21 
QuestionAsp.Net Rendering Option Pin
JayKhatri6-Nov-10 9:36
JayKhatri6-Nov-10 9:36 
AnswerRe: Asp.Net Rendering Option Pin
_Erik_6-Nov-10 10:06
_Erik_6-Nov-10 10:06 
QuestionOnClientClick javascript parameter [modified] Pin
C#Coudou5-Nov-10 21:27
C#Coudou5-Nov-10 21:27 
-----javascript----------------
function SelectTab(itemID,tkID)
{
  ob_em_SelectItem(itemID);
window.frames['tabIframe'].location.replace("../page/" + itemID + ".aspx?itemID=" + itemID + "&tkID=" + tkID + "");
}	

------asp client code----------
<oem:MenuItem InnerHtml="<span style='cursor:default'>ItemName</span>" 
		ID="STU0001" OnClientClick="SelectTab('STU0001','<%#txtItemID.ClientID %>')" >
</oem:MenuItem>


return result page:

/page/STU0001.aspx?itemID=STU0001&tkID=<%#txtItemID.ClientID %> ---->got an error here 


it should
/page/STU0001.aspx?itemID=STU0001&tkID=1020 --> or whatever the value of txtItemID.ClientID 


how to pass a value to javascript function from a textbox?just like above which is not correct.
C# コードMicrosoft End User
2000-2008




「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」


modified on Saturday, November 6, 2010 3:37 AM

AnswerRe: OnClientClick javascript parameter Pin
Parwej Ahamad6-Nov-10 9:03
professionalParwej Ahamad6-Nov-10 9:03 
GeneralRe: OnClientClick javascript parameter [modified] Pin
C#Coudou7-Nov-10 13:04
C#Coudou7-Nov-10 13:04 
GeneralRe: OnClientClick javascript parameter Pin
C#Coudou7-Nov-10 14:29
C#Coudou7-Nov-10 14:29 
Questionprint a page on windows mobile Pin
behzadcp4-Nov-10 7:15
professionalbehzadcp4-Nov-10 7:15 
AnswerRe: print a page on windows mobile Pin
NeverHeardOfMe4-Nov-10 7:36
NeverHeardOfMe4-Nov-10 7:36 
QuestionCan't see coded web performance test in VS 2010 Pin
jboyd1114-Nov-10 6:12
jboyd1114-Nov-10 6:12 
AnswerRe: Can't see coded web performance test in VS 2010 Pin
jboyd1114-Nov-10 6:36
jboyd1114-Nov-10 6:36 
GeneralRe: Can't see coded web performance test in VS 2010 Pin
NeverHeardOfMe4-Nov-10 6:46
NeverHeardOfMe4-Nov-10 6:46 
GeneralRe: Can't see coded web performance test in VS 2010 Pin
jboyd1114-Nov-10 9:41
jboyd1114-Nov-10 9:41 
QuestionViewstate Error Pin
treuveni4-Nov-10 1:23
treuveni4-Nov-10 1:23 
AnswerRe: Viewstate Error Pin
Keith Barrow4-Nov-10 1:29
professionalKeith Barrow4-Nov-10 1:29 
GeneralRe: Viewstate Error Pin
treuveni4-Nov-10 2:44
treuveni4-Nov-10 2:44 
AnswerRe: Viewstate Error Pin
treuveni6-Nov-10 20:56
treuveni6-Nov-10 20:56 
GeneralMy Vote 1 Pin
Keith Barrow6-Nov-10 22:26
professionalKeith Barrow6-Nov-10 22:26 
Questionhow to send sms through .net web form Pin
lavibyni3-Nov-10 23:06
lavibyni3-Nov-10 23:06 
AnswerRe: how to send sms through .net web form Pin
Vimalsoft(Pty) Ltd4-Nov-10 0:45
professionalVimalsoft(Pty) Ltd4-Nov-10 0:45 
AnswerRe: how to send sms through .net web form Pin
gautamamit87-Nov-10 23:26
gautamamit87-Nov-10 23:26 

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.