Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Jay #1
Pass Parameter to Javascript
Sorry for cross post... also posted to aspnet.
I have javascript that accepts 2 parameters like so...
function showmsgbox(chkB, somestring)
{
xState=chkB.checked;
if(xState)
{
chkB.parentElement.parentElement.style.backgroundC olor='yellow';
}
else
{
chkB.parentElement.parentElement.style.backgroundC olor='whitesmoke';
}
alert(somestring);
}
I need to pass the second parameter o the function from within a datagrid
like so... Only problem is I keep getting many erros with my syntax. How
can this be accomplished?...
<asp:TemplateColumn>
<ItemTemplate>
<asp:CheckBox ID="chkBox1" onclick="javascript:HighlightRow(this, '<%#
DataBinder.Eval(Container, "DataItem.column1") %>'');" runat="server"
autopostback="False"/>
</ItemTemplate>
</asp:TemplateColumn>
Thanks.
Jay Guest
-
Pass URL Parameter
Hi, I am new to Coldfusion so this may be a very simple question but I just can not figure it out! I have a link to a sub form that needs to... -
How to pass an object as parameter ?
I have a class with public properties defined in an assembly. I then have a web service in the same solution, which takes an object of this class... -
Pass bool parameter to web method
When I use bool parameter in my web method, it is always false regardless what I pass in. I can use int or char, but I don't believe that web method... -
Using query string to pass a value to a stored procedure parameter
All, I want to push on a form button in an HTML page and pass a query string to the ASP.NET page I’m opening. That query string has the... -
How to pass a link as a parameter?
Hello, I am asking for help: How can I pass a link to swf file as a parameter, and then after clicking on swf object (a banner), be redirected...



Reply With Quote

