I am using datagrid control with a button column i want to associate
some javascript code onto the buttons. it is possible and if yes how ??
Here is the code:
<aspataGrid ID="grdData" runat="server" autogeneratecolumns="false" OnItemCommand="Button_Click">
<columns>
<asp:BoundColumn DataField="DatabaseId" Visible ="false" />
<asp:boundcolumn datafield="UserId" headertext="Staff Id"></asp:boundcolumn>
<asp:boundcolumn datafield="FullName" headertext="Full Name"></asp:boundcolumn>
<asp:BoundColumn></asp:BoundColumn>
<asp:ButtonColumn ButtonType=PushButton Text="Select" > </asp:ButtonColumn>
As you can see I have a button column in my datagrid . I want to associate some javascript on this button(save the information and close the webform when the button is clicked) .. if its a normal button we can do it on codebehind page with adding an onClick attribute .. but how can i do it if its a ButtonColumn inside datagrid ... is it possible?
Thanks
dear friends-
how to remove or hide the close button in HTML forms- through javascript. i am opening a new window thorough javascript using window.open(). can u plsw give me the answer as soon as possible.thanks in advance.
by
senthil
can someone please show me some basic code for how javascript could manipulate a DOM (document object model).
Can be very basic
I absentmindedly asked a question a few days ago about how to add a mailto button when I really meant this- and somehow I m not surprised that I didn t realize until someone answered.
Anyway- what I actually need is the actionscript for a button that will bring up the print page dialogue box/wizard and reference the page to be printed from a separate HTML file in the same directory. I know this can only be done with javascript in HTML- so would that work within the geturl- or is there a function in flash for that?
My guess is something like: "on (release) {
getURL("javascript:window.print(page.html)")"
i ahev a blackberry curve 8310 from at$t and when i go on yahoo answers from my blackberry it will let me get on but when i go to submit an answer t says that i cant because javascript is not enabled so i went to the browser home and hit options and general and went to where it says:
"enable javascript location support
prompt before
closing browser or escape
closing modified pages
running wml script"
and theres a box beside each one so i turned them all on and it stil lwont work-what do i do?
ok here is a code i have
<div id="marketing" style="height: 285px; width: 960px;">
<div id="swf">
</div>
<div id="ad">
<div id="tkn_medrec"></div><script type="text/javascript">
sdc_wrapper("tkn_medrec"- "/Homepage/Index-SiteHome-10000000"- "x14");
</script>
</div>
</div>
now how can i use that to make the video play? there are some other things in the <head> and if i have all that too how can i make this play? i dont understand it... its off another website- is there a way i can use that video in mine? can u give me an idea? ty
any help would be greatly appreciated!
ive tried that but it doesnt work- it doesnt even work if i just view source and save a some.html- is there a way i can make it work?
tx
No comments:
Post a Comment