TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Su Su
NA
4
1.1k
How to set focus custom image button after click that button
Aug 25 2015 1:37 AM
My problem is ..
I want to set focus at custom image button.
If I click that button, a form will be open,after I close that form, the button that I clicked should be on focus.
<asp:TemplateColumn ItemStyle-Width="95px" ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<table style="width: 95px">
<tr>
<td style="text-align: center; width: 100%">
</td>
</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<table style="width: 95px">
<tr>
<td style="text-align: center; width: 100%">
<cc1:CustomImageButton id="SoDtilButton" runat="server" type="submit"
ImageUrl="img/CM_b2_detail.gif"
AlternateText="Detail"
CommandName="Dtil">
</cc1:CustomImageButton>
<cc1:CustomImageButton id="SoDeleteButton" runat="server"
ImageUrl="img/CM_b2_delete.gif"
AlternateText="Delete"
CommandName="Delete"
ClientFocusScript="defaultFunctionKeyBody"
ClientClickScript="delRowConfirmDialog">
</cc1:CustomImageButton>
</td>
</tr>
</table>
</ItemTemplate>
<edititemtemplate>
<table style="width: 95px">
<tr>
<td style="text-align: center; width: 100%">
<cc1:CustomImageButton id="EditSoDtilButton" runat="server"
ImageUrl="img/CM_b2_detail.gif"
AlternateText="Detail"
CommandName="Dtil"
ClientFocusScript="defaultFunctionKeyEdit"
Visible=true>
</cc1:CustomImageButton>
<cc1:CustomImageButton id="EditSoUpdateButton" runat="server"
ImageUrl="img/CM_b2_update.gif"
AlternateText="Update"
CommandName="Update"
ClientFocusScript="defaultFunctionKeyEdit"
ClientClickScript="updateSoRowCheck">
</cc1:CustomImageButton>
<cc1:CustomImageButton id="EditSoDeleteButton" runat="server"
ImageUrl="img/CM_b2_delete.gif"
AlternateText="Delete"
CommandName="Delete"
ClientFocusScript="defaultFunctionKeyEdit"
ClientClickScript="delRowConfirmDialog">
</cc1:CustomImageButton>
</td>
</tr>
</table>
<input id="EditSoQtDecFlgHdn" type="hidden" runat="server" NAME="EditSoQtDecFlgHdn">
</EditItemTemplate>
</asp:TemplateColumn>
Button is created like that.
Reply
Answers (
0
)
how to convert a emoji code in java to c# and display it
exception handling in mvc 5