List Info

Thread: calling javascript from datagrids link button click event




calling javascript from datagrids link button click event
user name
2006-11-23 12:03:43
hi freinds
  i have a datagrid in which there is link button
  on click event of this link button i want to show one
popup window
  i written one javascript for that 
  but how can i javascript from click event of link button
which in datagrid
  thanks

 
---------------------------------
Access over 1 million songs - Yahoo! Music Unlimited.
 
---------------------------------
Access over 1 million songs - Yahoo! Music Unlimited.

[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/join

    (Yahoo! ID required)

<*> To change settings via email:
    mailto:AspNetAnyQuestionIsOk-digest@yahoogroups.com 
   
mailto:AspNetAnyQuestionIsOk-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

TreeView Control
user name
2006-11-23 14:44:15
Hi All, 
   
  I want to create treeview using asp.net 2.0. i already
create it. i want to make an event in the right click on the
tree node that i can do many options when the user click
right click on the treenode. if this can be done in the menu
control or tree control please let me know. if there are any
options or components or code can do that please tell me.
   
  Thanks in advance 

 
---------------------------------
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone
call rates.

[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/join

    (Yahoo! ID required)

<*> To change settings via email:
    mailto:AspNetAnyQuestionIsOk-digest@yahoogroups.com 
   
mailto:AspNetAnyQuestionIsOk-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

calling javascript from datagrids link button click event
user name
2006-11-23 15:11:25
  here you go, you can wtire javaScript action like the
followin Example.
  i hope it usefull
   
  <asp:GridView ID="GridView1"
runat="server"
AutoGenerateColumns="False">
  <Columns>
  <asp:TemplateField>
  <HeaderTemplate>
  Popup Window
  </HeaderTemplate>
  <ItemTemplate>
  <asp:LinkButton ID="LinkButton2"
OnClientClick="javascript:window.open('Default.aspx',''
,'top=20,left=80,width=800,height=600,scrollbars=yes,locatio
n=no,directories=no,status=no,menubar=no,toolbar=no,resizabl
e=yes');" runat="server">Show PopUp
window</asp:LinkButton> 
  </ItemTemplate>
  </asp:TemplateField>
  
  </Columns>
  </asp:GridView>


manisha kadam <l.manishayahoo.com> wrote:       
  hi freinds
i have a datagrid in which there is link button
on click event of this link button i want to show one popup
window
i written one javascript for that 
but how can i javascript from click event of link button
which in datagrid
thanks

---------------------------------
Access over 1 million songs - Yahoo! Music Unlimited.

---------------------------------
Access over 1 million songs - Yahoo! Music Unlimited.

[Non-text portions of this message have been removed]



         

 
---------------------------------
Access over 1 million songs - Yahoo! Music Unlimited.

[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/join

    (Yahoo! ID required)

<*> To change settings via email:
    mailto:AspNetAnyQuestionIsOk-digest@yahoogroups.com 
   
mailto:AspNetAnyQuestionIsOk-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )