Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
87 views
Hi, All:

I am trying to get the "Back" button in my browser (IE) working with RadGrid.

In all my pages, there is a RadGrid and I set EnableAjax=false.
Here is my web pages:
    page 1:  a RadGrid shows:  record 1 and record 2.
    page 2: a RadGrid shows: record 3 and record 4.

I first visit page 1, then visit page2.
Now, I click on the "Back" button on my IE browser when I am in page 2.  It surely goes back to page 1. Then I click on update of record 2 (I am in page 1).

Funny thing: now the RadGrid shows record 3 and record 4, with record 4 in edit mod.  

but RadGrid is supposed to show record 1 and record 2, with record 2 in edit
mode.

It looks like the IE browser stores page 1 into its memory/cache.
Is the any way to fix this?

Please help.

Stanley
Esperanza Ramos
Top achievements
Rank 1
 asked on 22 Oct 2008
0 answers
45 views
hello,

i am interested in replacing the stock "+" "-" icons w/ text, eg "Show" "Hide". is this possible?

i tried setting the ExpandCollaspeColumnButtonMode to "LinkButton", but i didnt see properties for the text and style options.


thanks,
matt
matt
Top achievements
Rank 1
 asked on 22 Oct 2008
4 answers
126 views
I had developed my project for a  year. It was Ok on Fire Fox 2 version. All components (teleriks) didn't produce any error. But when i run my project on Fire Fox 3, it starts showing ajax scripts errors..... a  lot. The errors messages shown are : Components is not defined.....below that message comes another message : createCallback()("").......

For more information : i am still using Prometheus telerik controls. and my project use ASP.NET 2.0 Ajax Extension 1.0. I used update panel a lot on my page and telerik controls such as grids, tree view etc.


Cheers,

JOHNG
Michael
Top achievements
Rank 1
 answered on 22 Oct 2008
2 answers
121 views
I have a grid, and in that grid in edit mode, I have fields - among those a price field, a template which is combo box and a template which is another grid. When the user drops down the combo box and chooses a package, the embedded grid redraws from the selection of the combo box. One of the columns in the embedded grid is the package price, and every row is the same and I hide it in embedded grid, but I would like to take that value, and every time the user chooses from the combo box, I want to take that price and put it in the price field on the main grid. I am trying to do it the selected index changed code behind when the combo box is changed, but there is nothing there telling me about the main grid(usersGrid). Also, on insert, the combo box defaults to the first choice, and the embedded grid is there by default. How can I populate the price field in the main grid from the embedded grid on opening of the form?

Here is my code:
ASPX:

<telerik:RadGrid ID="usersGrid" runat="server"  
       DataSourceID="ContentCentralUsers" GridLines="None" Skin="Office2007" AutoGenerateColumns="False"
            ondatabound="usersGrid_DataBound" onitemdatabound="usersGrid_ItemDataBound"
            onitemevent="usersGrid_ItemDataBound" oniteminserted="usersGrid_ItemInserted" onitemupdated="usersGrid_ItemUpdated"
            ShowStatusBar="True" OnPreRender="usersGrid_PreRender" oninsertcommand="usersGrid_InsertCommand" OnItemCommand="usersGrid_ItemCommand"
            onupdatecommand="usersGrid_UpdateCommand"   commanditemdisplay="TopAndBottom">
     
       <MasterTableView  DataSourceID="ContentCentralUsers"
             AllowFilteringByColumn="True" AllowSorting="True"   
              InsertItemPageIndexAction="ShowItemOnFirstPage" CommandItemDisplay="Top"
             NoMasterRecordsText="No users to display.">
            <CommandItemSettings AddNewRecordText="Add new user"  />
            
            <RowIndicatorColumn>
            <HeaderStyle Width="20px"></HeaderStyle>
            </RowIndicatorColumn>
   
            <ExpandCollapseColumn>
            <HeaderStyle Width="20px"></HeaderStyle>
            </ExpandCollapseColumn>
            
   
     <Columns>
        <telerik:GridEditCommandColumn ButtonType="ImageButton"  UniqueName="EditCommandColumn1">
                    <HeaderStyle Width="20px" />
        </telerik:GridEditCommandColumn>
        <telerik:GridBoundColumn DataField="user_id" UniqueName="user_id" Visible="false" ReadOnly="true" ></telerik:GridBoundColumn>
        <telerik:GridTemplateColumn HeaderText="Seat(User)" SortExpression="login_name" UniqueName="login_name" >
          <ItemTemplate>
             <asp:Label ID="login_name"   runat="server"  Text='<%#Eval("login_name") %>'></asp:Label>
          </ItemTemplate>
          <EditItemTemplate>
             <asp:TextBox Text='<%#Eval("login_name") %>'  runat="server"  OnTextChanged="change_loginName"></asp:TextBox>
          </EditItemTemplate>
        </telerik:GridTemplateColumn>
        
        <telerik:GridTemplateColumn HeaderText="Password" SortExpression="password" UniqueName="password"  EditFormColumnIndex="1" AllowFiltering="false">
          <ItemTemplate>
             <asp:Label ID="password"   runat="server"  Text='<%#Eval("password") %>'></asp:Label>
          </ItemTemplate>
          <EditItemTemplate>
             <asp:TextBox ID="TextBox1" Text='<%#Eval("password") %>'  runat="server"  OnTextChanged="change_Password" ></asp:TextBox>
          </EditItemTemplate>
        </telerik:GridTemplateColumn>
        
        <telerik:GridTemplateColumn HeaderText="Email" SortExpression="email" UniqueName="email" >
          <ItemTemplate>
             <asp:Label ID="email"   runat="server"  Text='<%#Eval("email") %>'></asp:Label>
          </ItemTemplate>
          <EditItemTemplate>
             <asp:TextBox ID="TextBox2" Text='<%#Eval("email") %>'  runat="server"  OnTextChanged="change_email"></asp:TextBox>
          </EditItemTemplate>
        </telerik:GridTemplateColumn>
        
        <telerik:GridTemplateColumn HeaderText="Package"  UniqueName="RadComboPackage" EditFormColumnIndex="1" >
                       <HeaderStyle Width="100%" />
                        <ItemTemplate>
                            <asp:Label runat="server" ID="Label1" Text='<%#Eval("package_name") %>'></asp:Label>
                            <telerik:RadToolTip runat="server" ID="RadToolTip1" TargetControlID="Label1"
                                Skin="Office2007" ShowDelay="1000" AutoCloseDelay="200000" Font-Names="arial"
                                Font-Size="XX-Large" BorderStyle="Inset" HideDelay="100000" ManualClose="False"
                                Position="BottomRight" Sticky="True" Width="300">   
                                    <asp:Label runat="server" ID="Label3" Text='<%#Eval("descriptions") %>'></asp:Label><br/>                                                  
                             </telerik:RadToolTip>
                        </ItemTemplate>
                        <EditItemTemplate>
                        <telerik:RadComboBox  ID="package"  Width="220px"  runat="server"  OnSelectedIndexChanged="RadComboBoxSelectedIndexChanged"
                                MarkFirstMatch="True"  AllowCustomText="True" DataSourceID="ContentCentralPackages"   EmptyMessage="Select a package"
                              ExpandAnimation-Type="None"  CollapseAnimation-Type="None" AutoPostBack="true" AppendDataBoundItems="false"
                                DataTextField="package_name" DataValueField="package_cd" DropDownWidth="650px"
                               Skin="Office2007"  SelectedValue='<%# Bind("package_cd") %>'
                                EnableVirtualScrolling="True" HighlightTemplatedItems="True">
                             <ExpandAnimation Type="None" />
                             <CollapseAnimation Duration="200" Type="None" />
                             
                          <HeaderTemplate>
                           <table style="width: 620px; text-align: left">
                            <tr>
                                <td style="width: 170px;">
                                    Package Name
                                </td>
                                <td style="width: 450px;" >
                                    Description
                                </td>
                               
                            </tr>
                          </table>
                        </HeaderTemplate>
                    <ItemTemplate>
                        <table style="width: 620px; text-align: left">
                            <tr>
                                <td style="width: 170px;" valign="top">
                                    <%# DataBinder.Eval(Container.DataItem, "package_name") %>
                                </td>
                                <td style="width: 450px;">
                                    <%# DataBinder.Eval(Container.DataItem, "descriptions") %>
                                </td>
                                
                            </tr>
                        </table>
                    </ItemTemplate>
            
                          </telerik:RadComboBox>
                        </EditItemTemplate>
                    </telerik:GridTemplateColumn>
                    <telerik:GridBoundColumn DataField="packageprice" HeaderText="Package Price" Display="true" UniqueName="packageprice"
                                  DataFormatString="{0:C2}" ></telerik:GridBoundColumn>
                   
                        <telerik:GridMaskedColumn  DataField="packagealaprice"  Mask="$ #####.##" DataFormatString="{0:C2}" HeaderText="Ala Carte Price" Display="true" UniqueName="packagepriceala"
                                  readonly="true" >
                         <ItemStyle HorizontalAlign="Right" />
                      </telerik:GridMaskedColumn>
       
            <telerik:GridTemplateColumn EditFormHeaderTextFormat=""  HeaderStyle-VerticalAlign="Top" Visible="false" UniqueName="PackagePriceGrid">
             <EditItemTemplate>
               <telerik:RadGrid ID="PackagePriceGrid" runat="server" AutoGenerateColumns="False" DataSourceID="spAddNewsTradeProduct"  
                                GridLines="None" Skin="Office2007" onitemdatabound="PackagePriceGrid_ItemDataBound" OnItemCommand="PackageGrid_ItemCommand"
                              ShowStatusBar="True" OnPreRender="PackagePriceGrid_PreRender" >
                  <MasterTableView CommandItemDisplay="None" EditMode="InPlace" DataKeyNames="service_id,Checked" >   
                    <Columns>
                       <telerik:GridBoundColumn  UniqueName="service_id" DataField="service_id" Visible="false" Display="false">
                       </telerik:GridBoundColumn>
                       <telerik:GridBoundColumn DataField="service_name" HeaderText="Default Package"  Display="true" UniqueName="service_name" >
                       </telerik:GridBoundColumn>
                       <telerik:GridTemplateColumn HeaderText="Entitled" UniqueName="CHECKED">
                        <ItemTemplate>
                          <asp:CheckBox ID="Entitled"  Checked='<%# Eval("Checked") %>' runat="server" />
                                 </ItemTemplate>
                          </telerik:GridTemplateColumn>
                        <telerik:GridBoundColumn  Display="false" Visible="false" ReadOnly="true" UniqueName="PKGPRICE" DataField="Price">
                        </telerik:GridBoundColumn>
                     </Columns>
                  </MasterTableView>
               </telerik:RadGrid>                    
              </EditItemTemplate>
             <HeaderStyle VerticalAlign="Top"></HeaderStyle>
          </telerik:GridTemplateColumn>   
         

Laura
Top achievements
Rank 1
 answered on 22 Oct 2008
1 answer
132 views
Hi,

I need to Deselect all the rows in one radgrid when I select any of the row in other radgrid.
This functionality is working fine when I have only two RADGrids in my page.
When I add two more new RADGrids to the same page then Selection/deselection is working fine for existing two radgrids, but it is NOT working for the newly added 2 more grids.

This below line of code is which deselects all the rows in the selected grid.
$find("<%= RadGrid2.MasterTableView.ClientID %>").clearSelectedItems();

This behevior of RADgrid is some what strange.
Please help me by providing a solution for this.

regards
Rams.
Daniel
Telerik team
 answered on 22 Oct 2008
2 answers
113 views
I have a RadWindow pop up when I press a button. I also have a menu on the same page at the top.

However, the RadWindow seems to layer below the menu like so:

http://img410.imageshack.us/img410/9380/windowbq1.jpg

How can I have it so the window appears below the menu?
Megan
Top achievements
Rank 1
 answered on 22 Oct 2008
4 answers
73 views
Hi,
Problem: In every aspx where we have applied AllowFilteringByColumn="true" within the RadGrid the following .RadMenu_WebBlue class defined within css file is overriden by the inbuilt Webblue skin of Radmenu and bcoz of that we are facing Distortion problem:

.RadMenu_WebBlue

{
padding: 0 30px;

 

 

background: url(img/MenuBackground.gif) #d5d9de repeat-x;

 

 

line-height: 38px; }

Distortion: in defined class height=38 and at runtime it overrides this class with inbuilt WeBlue class which is having height=23 so bcoz of height difference it looks like that the image into two and in the second part white color appears coz in actuall there is only one image which appears in first part

Please help me out for this problem if anybody is having any idea.

Thanks in advance
Prashant
9810494465

 

prashant
Top achievements
Rank 1
 answered on 22 Oct 2008
3 answers
113 views
I have a Radgrid with two template columns.  Both columns have radcomboboxes.  I need one of the comboxes to update the values in another, when the row is in edit mode.

How can I access the second combobox when the first one posts back?  I just can't figure how to get to the instance of it.

I'm sure this is something simple that I am just missing.
DonKitchen
Top achievements
Rank 1
 answered on 22 Oct 2008
2 answers
138 views
Hi..
I'm using a Form Template in RadGrid for editing. The RadGrid is set to use a skin but when I set the Template to White it does not show White..
What is wrong with the following?  Thanks!

 

<telerik:RadGrid ID="RadGridCorrespondence" runat="server" AllowPaging="True" AllowSorting="True"

 

 

AutoGenerateColumns="False" AutoGenerateEditColumn="True" Font-Names="Verdana"

 

 

Font-Size="Small" GridLines="None" GroupingEnabled="False" OnItemCommand="RadGridCorrespondence_ItemCommand"

 

 

OnItemDataBound="RadGridCorrespondence_ItemDataBound" OnNeedDataSource="RadGridCorrespondence_NeedDataSource"

 

 

OnItemInserted="RadGridCorrespondence_ItemInserted" OnItemUpdated="RadGridCorrespondence_ItemUpdated"

 

 

Skin="WebBlue" Width="99%" DataSourceID="ObjectDataSourceCorrespondence">

 

 

<ValidationSettings EnableValidation="False" />

 

 

<AlternatingItemStyle Font-Names="Verdana" Font-Size="Small" />

 

 

<ItemStyle Font-Names="Verdana" Font-Size="Small" />

 

 

<PagerStyle Mode="Slider" />

 

 

<MasterTableView AutoGenerateColumns="False" CommandItemDisplay="Bottom" DataKeyNames="CorrespondenceID, CategoryID, AddressID"

 

 

HorizontalAlign="NotSet" Width="100%" DataSourceID="ObjectDataSourceCorrespondence">

 

 

<CommandItemSettings AddNewRecordText="Add New Communications Record" />

 

 

<RowIndicatorColumn>

 

 

<HeaderStyle Width="20px" />

 

 

</RowIndicatorColumn>

 

 

<ExpandCollapseColumn>

 

 

<HeaderStyle Width="20px" />

 

 

</ExpandCollapseColumn>

 

 

<Columns>

 

 

<telerik:GridBoundColumn DataField="CorrespondenceID" HeaderText="CorrespondenceID"

 

 

UniqueName="CorrespondenceID" DataType="System.Int32" ReadOnly="True" SortExpression="CorrespondenceID"

 

 

Display="false" Visible="false">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridDropDownColumn DataField="CorrespondenceTypeID" DataType="System.Int32"

 

 

HeaderText="Communication Type" DataSourceID="SqlDataSourceCORRESPONDENCETYPE"

 

 

ListTextField="CorrespondenceType" ListValueField="CorrespondenceTypeID"

 

 

UniqueName="CorrespondenceTypeID" />

 

 

<telerik:GridBoundColumn DataField="Subject" HeaderText="Subject of Email" SortExpression="Subject"

 

 

UniqueName="Subject">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridDropDownColumn DataField="CategoryID" DataType="System.Int32" HeaderText="Category of Letter"

 

 

DataSourceID="SqlDataSourceFullCategoryList" ListTextField="CategoryName" ListValueField="CategoryID"

 

 

UniqueName="CategoryID" EnableEmptyListItem="true" EmptyListItemText="" EmptyListItemValue="0">

 

 

</telerik:GridDropDownColumn>

 

 

<telerik:GridBoundColumn DataField="CorrespondenceText"

 

 

DataType="System.String" HeaderText="Communication Comment"

 

 

UniqueName="CorrespondenceText" />

 

 

<telerik:GridBoundColumn DataField="DateIn" DataType="System.DateTime" HeaderText="Date In"

 

 

SortExpression="DateIn" UniqueName="DateIn" ReadOnly="true">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="DateOut" DataType="System.DateTime" HeaderText="Date Out"

 

 

SortExpression="DateOut" UniqueName="DateOut" ReadOnly="true">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="UpdateDate" DataType="System.DateTime" HeaderText="Update Date"

 

 

SortExpression="UpdateDate" UniqueName="UpdateDate" ReadOnly="true">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridDropDownColumn DataField="AddressID" DataType="System.Int32" HeaderText="Address"

 

 

DataSourceID="SqlDataSourceCorrespondenceAddress" ListTextField="AddressLine"

 

 

ListValueField="AddressID" UniqueName="AddressID" EnableEmptyListItem="true" EmptyListItemText="" EmptyListItemValue="0">

 

 

</telerik:GridDropDownColumn>

 

 

</Columns>

 

 

<EditFormSettings CaptionFormatString="Add Communications Record" ColumnNumber="2" EditFormType="Template">

 

 

<EditColumn ButtonType="ImageButton" CancelText="Cancel Edit" InsertText="Insert Communications Record"

 

 

UpdateText="Update Communications Record">

 

 

</EditColumn>

 

 

 

<FormTableStyle BackColor="White" CellPadding="2" CellSpacing="0" Height="110px" />

 

 

<FormMainTableStyle BackColor="White" CellPadding="3" CellSpacing="0" GridLines="None"

 

 

Width="100%" />

 

 

 

 

<FormTableItemStyle Wrap="False" />

 

 

<FormTableAlternatingItemStyle Wrap="False" />

 

 

<FormTableButtonRowStyle HorizontalAlign="Right" />

 

 

<FormTemplate>

 

 

<table>

 

 

<tr>

 

 

<td class="style48">

 

 

<asp:Label ID="Label2" runat="server" Font-Bold="False" Font-Names="Verdana" Font-Size="Small"

 

 

Text="Communications Type"></asp:Label>

 

 

</td>

 

 

<td>

 

 

<table class="style59">

 

 

<tr>

 

 

<td>

 

 

<telerik:RadComboBox ID="cmbCorrespondenceType" runat="server"

 

 

DataField="CorrespondenceTypeID" DataSourceID="SqlDataSourceCORRESPONDENCETYPE"

 

 

DataTextField="CorrespondenceType" DataValueField="CorrespondenceTypeID"

 

 

Font-Bold="False" Font-Names="Verdana" Font-Size="Small"

 

 

HeaderText="Correspondence Type" ListTextField="CorrespondenceType"

 

 

ListValueField="CorrespondenceTypeID"

 

 

SelectedValue='<%# Bind("CorrespondenceTypeID") %>' Skin="Web20"

 

 

UniqueName="CorrespondenceType" Width="203px">

 

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

 

</telerik:RadComboBox>

 

 

</td>

 

 

<td>

 

 

<asp:Label ID="Label8" runat="server" Font-Bold="False" Font-Names="Verdana"

 

 

Font-Size="Small" Text="Subject of Email "></asp:Label>

 

 

<asp:TextBox ID="txtSubject" runat="server" Text='<%# Bind( "Subject" ) %>'

 

 

Width="275px"></asp:TextBox>

 

 

</td>

 

 

<td>

 

 

&nbsp;</td>

 

 

</tr>

 

 

</table>

 

 

</td>

 

 

<td class="style48">

 

 

&nbsp;</td>

 

 

<td>

 

 

&nbsp;</td>

 

 

</tr>

 

<%

-- <tr>

 

<td class="style48">

<asp:Label ID="Label9" runat="server" Font-Bold="False" Font-Names="Verdana" Font-Size="Small"

Text="Ticker Date"></asp:Label>

</td>

<td>

<telerik:RadDatePicker ID="dtTICKLERDATE" runat="server" Width="100px" DbSelectedDate='<%# Bind("TicklerDate") %>'>

<DateInput InvalidStyleDuration="100">

</DateInput></telerik:RadDatePicker>

</td>

<td class="style48">

<asp:Label ID="Label5" runat="server" Font-Bold="False" Font-Names="Verdana" Font-Size="Small"

Text="Due Date"></asp:Label>

</td>

<td>

<telerik:RadDatePicker ID="dtDUEDATE" runat="server" Width="100px" DbSelectedDate='<%# Bind("DueDate") %>'>

<DateInput InvalidStyleDuration="100">

</DateInput></telerik:RadDatePicker>

</td>

</tr>--

 

%>

 

 

<tr>

 

 

<td class="style48">

 

 

<asp:Label ID="Label12" runat="server" Font-Bold="False" Font-Names="Verdana" Font-Size="Small"

 

 

Text="Category of Letter"></asp:Label>

 

 

 

</td>

 

 

<td>

 

 

<telerik:RadAjaxPanel ID="RadAjaxPanelCategories" runat="server" height="44px"

 

 

LoadingPanelID="RadAjaxLoadingPanel2" width="300px">

 

 

 

<table class="style59">

 

 

<tr>

 

 

<td>

 

 

<telerik:RadComboBox ID="Category" runat="server" AutoPostBack="True"

 

 

CausesValidation="false" DataField="CATEGORYID"

 

 

DataSourceID="SqlDataSourceCategory" DataTextField="NAME"

 

 

DataValueField="CATEGORYID" Font-Bold="False" Font-Names="Verdana"

 

 

Font-Size="Small" HeaderText="Category" Height="250px" ListTextField="NAME"

 

 

ListValueField="CATEGORYID"

 

 

OnSelectedIndexChanged="Category_SelectedIndexChanged" Skin="Web20"

 

 

UniqueName="cmbCATEGORYID" Width="275px">

 

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

 

</telerik:RadComboBox>

 

 

</td>

 

 

<td>

 

 

<asp:Label ID="Label13" runat="server" Font-Bold="False" Font-Names="Verdana"

 

 

Font-Size="Small" Text="Sub Category"></asp:Label>

 

 

</td>

 

 

<td>

 

 

<telerik:RadComboBox ID="SubCategory" runat="server" DataField="CATEGORYID"

 

 

DataSourceID="SqlDataSourceSubCategory" DataTextField="NAME"

 

 

DataValueField="CATEGORYID" Font-Bold="False" Font-Names="Verdana"

 

 

Font-Size="Small" HeaderText="Category" Height="250px" ListTextField="NAME"

 

 

ListValueField="CATEGORYID" Skin="Web20" UniqueName="SUBCATEGORY" Width="275px">

 

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

 

</telerik:RadComboBox>

 

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

</telerik:RadAjaxPanel>

 

 

</td>

 

 

<td class="style49">

 

 

&nbsp;</td>

 

 

<td>

 

 

&nbsp;</td>

 

 

</tr>

 

 

<tr>

 

 

<td class="style49">

 

 

<asp:Label ID="Label5" runat="server" Font-Bold="False" Font-Names="Verdana" Font-Size="Small"

 

 

Text="Communication Comment"></asp:Label>

 

 

</td>

 

 

<td>

 

 

<asp:TextBox ID="txtCorrespondenceComment" runat="server"

 

 

TextMode="MultiLine" Rows= "3" Columns="100" Wrap="true"

 

 

Text='<%# Bind( "CorrespondenceText" ) %>'>

 

 

</asp:TextBox>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td class="style48">

 

 

<asp:Label ID="Label10" runat="server" Font-Bold="False" Font-Names="Verdana" Font-Size="Small"

 

 

Text="Address"></asp:Label>

 

 

</td>

 

 

<td>

 

 

<telerik:RadComboBox ID="cmbAddressPicker" runat="server" DataField="AddressID" DataSourceID="SqlDataSourceCorrespondenceAddress"

 

 

DataTextField="AddressLine" DataValueField="AddressID" ListTextField="AddressLine"

 

 

ListValueField="AddressID" Skin="Web20" uniquename="AddressPicker" CausesValidation="false"

 

 

Font-Bold="False" Font-Names="Verdana"

 

 

Font-Size="Small">

 

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

 

</telerik:RadComboBox>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td>

 

 

&#160;

 

 

</td>

 

 

<td class="TD_Right" >

 

 

 

<table class="style59">

 

 

<tr>

 

 

<td>

 

 

&nbsp;</td>

 

 

<td>

 

 

&nbsp;</td>

 

 

<td>

 

 

&nbsp;</td>

 

 

<td>

 

 

&nbsp;</td>

 

 

<td>

 

 

&nbsp;</td>

 

 

<td>

 

 

<asp:ImageButton ID="imgUpdate" runat="server" AlternateText="Update"

 

 

CommandName='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'

 

 

ImageUrl="~/btns/Update.gif" onclick="imgUpdate_Click"

 

 

ToolTip="Update Communication Information" />

 

 

<asp:ImageButton ID="imgCancel" runat="server" AlternateText="Cancel"

 

 

CommandName="Cancel" Height="16px" ImageUrl="~/btns/Cancel.gif"

 

 

onclick="imgCancel_Click"

 

 

ToolTip="Cancel Update of Communication Information" />

 

 

 

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" Runat="server"

 

 

height="75px" width="75px">

 

 

<img alt="Loading..."

 

 

src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'

 

 

style="border:0px;" />

 

 

</telerik:RadAjaxLoadingPanel>

 

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

</FormTemplate>

 

 

</EditFormSettings>

 

 

<CommandItemStyle Font-Size="Larger" ForeColor="#000066" />

 

 

 

</MasterTableView><HeaderStyle Font-Names="Verdana" Font-Size="Small" />

 

 

<ClientSettings>

 

 

<Selecting AllowRowSelect="True" />

 

 

</ClientSettings>

 

 

</telerik:RadGrid>

 

Jon
Top achievements
Rank 1
 answered on 22 Oct 2008
1 answer
110 views
I am trying to validate a button click on a rad toolbar control.

I want the user to click the button...It will prompt the user with a yes/cancel radconfirm dialog...upon clicking 'yes' the button will resume normal functionality and postback. if they click "cancel' then the dialog will close and the page will not postback.

Thanks
Veselin Vasilev
Telerik team
 answered on 22 Oct 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?