Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
113 views
hi all,

how to change the button text of radupload?

thanks
Shinu
Top achievements
Rank 2
 answered on 11 Aug 2009
1 answer
107 views
I'm looking to do a three level nested grid with the last detail table having a radiobuttonlist to filter the data.


-Hierarchy 1

   -Hierachy 2
 
Show All (6 Records)   Show X (3Records)   Show Y (2 Records)   Show Z (1 Record)
     -------------------Detail Table------------------


The radiobutton list is created on demand and on postback rebinds the data in the detail table based on a filter value.

Any examples of this out there?




Princy
Top achievements
Rank 2
 answered on 11 Aug 2009
3 answers
336 views
Hi,

I'm using the Grid and all is peachy in terms of skinning the grid itself, but I can't seem to find a place where one can choose the skin to use for a column that makes use of the RadWindow.

E.g.
<telerik:GridButtonColumn CommandName="Delete" ConfirmText="Are you sure you want to delete this Item ?" 
  ConfirmDialogType="RadWindow" Reorderable="False" Text="delete" UniqueName="column1" ConfirmTitle="Delete Item" /> 

I don't see any obvious attribute on this column that allows me to say which skin, or custom skin, this Confirm Dialog should use.

How do I skin the confirm Dialog?

Regards,
Jacques
Veli
Telerik team
 answered on 11 Aug 2009
1 answer
88 views
I have a grid inside a user control.

i made an GridTemplateColumn with a customized edit button.
When I click the customized edit button, a pop up will show and and user can now edit the items selected.

my problem is when i click on the ok of the pop up the grid does not rebind....

i placed a rebind code in the onclientclose event of the popup.
i also have and ajax panel on may grid

when i press F5 or refresh the page, the grid shows then changes made from editing the grid.
 
I also noticed that when i click sort on my grid, the edited item shows.

correct me if im wrong but i think my data source is updated as well as my grid but i think that the grids display does not change.

please help.  I have many usercontrols that have the same problem.

Grid that does not change its display even after rebind.
Princy
Top achievements
Rank 2
 answered on 11 Aug 2009
1 answer
116 views
OK, I've been searching for an answer for quite a while now and still, nothing works.  I've tried both CheckboxColumn and Template column.  In both cases, I can check the box on the form, but when I do a postback, the state is always reported as the default in which I set it.

I'm not doing anything fancy here.  All I want is to be able to loop through the records and see if the user checked anything and set up the operation I need to do on that. 

Here is the current code:

ASPX:

               <radG:GridTemplateColumn UniqueName="cbCol"
                                        HeaderText="Select">
                  <ItemTemplate>  
                     <asp:CheckBox ID="cbSelection" runat="server" Checked="false" />  
                  </ItemTemplate>  
               </radG:GridTemplateColumn>                 


ASPX.CS

   protected void ExecuteSubmit(object sender, EventArgs e)
   {
      foreach (GridDataItem X in RadGrid1.Items)
      {
         CheckBox ItemSelect = (CheckBox)X["cbCol"].FindControl("cbSelection");

         if (ItemSelect.Checked)
         {
                 //  NEVER reaches here if checkbox was defaulted to 'unchecked' regardless of the state of the control on postback.
         }
      }
   }

What am I missing?



Princy
Top achievements
Rank 2
 answered on 11 Aug 2009
2 answers
225 views
I have an application where I have an Ajax tab control (which is created at design time-- no it's not a telerik tab control) and has 35+ seperate tabs currently which are populated with a couple text boxes and a couple dropdown lists for inputting of new data.  Once I added the Prometheus Editor (also at design time) I started encountering an error. 

The error is: "Stop running this script?  A script on this page is causing Internet Explorer to run slowly.  If it continues to run, your computer may become unresponsive."  After I click "No" it loads fine, albeit the whole thing runs rather slow for an Ajax app....

Obviously this issue occurs only once I added the Editor control, and yes, there are 35 of them loaded at once.  My problem is that there could be up to 50-75 alltogether (eventually) loaded at once.  If it can't even load 35 without an error message, I cringe to think about when more are added...   Any ideas on what could be the problem? 

Perhaps disable some features of the Editor or something?

Here's how I'm adding the Editor... 

Dim

tbEOSDet As RadEditor = New RadEditor
tbEOSDet.ID =
"EOSDet" & i + 1
tabcontent.controls.Add(tbEOSDet)

Thanks in advance for any help.

Greg Peszek
Top achievements
Rank 1
 answered on 10 Aug 2009
4 answers
370 views
Is there a way of catching the client side event of "maximized" i.e. running code after a window is maximised or resized for that matter?

Thanks
M
Matt Cowen
Top achievements
Rank 1
 answered on 10 Aug 2009
2 answers
151 views
Hi Guys,

I do have a grid with this definition:

<

 

telerik:RadGrid ID="rgdGrossFee" runat="server" DataSourceID="ObjectDataSource1"

 

 

GridLines="None" Skin="Office2007">

 

 

<MasterTableView AllowPaging="True" AutoGenerateColumns="False" DataKeyNames="Gro_Id"

 

 

DataSourceID="ObjectDataSource1" EditMode="EditForms" PageSize="8">

 

 

<RowIndicatorColumn>

 

 

<HeaderStyle Width="20px" />

 

 

</RowIndicatorColumn>

 

 

<ExpandCollapseColumn>

 

 

<HeaderStyle Width="20px" />

 

 

</ExpandCollapseColumn>

 

 

<Columns>

 

 

<telerik:GridBoundColumn DataField="Gro_Id" EmptyDataText="&amp;nbsp;" HeaderText="Gro_Id"

 

 

SortExpression="Gro_Id" UniqueName="Gro_Id" DataType="System.Int32" Visible="false">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="Gro_Year" EmptyDataText="&amp;nbsp;" HeaderText="Financial Year Ending"

 

 

SortExpression="Gro_Year" UniqueName="Gro_Year" DataType="System.Int32">

 

 

<ItemStyle Width="20%" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridTemplateColumn UniqueName="TemplateColumn2" SortExpression="ApplicationStatusName"

 

 

HeaderText="Uk">

 

 

<ItemTemplate>

 

 

<telerik:RadNumericTextBox ID="txtUK" runat="server" Text='<%# Bind("Gro_Uk") %>'

 

 

Width="90%" />

 

 

</ItemTemplate>

 

 

<ItemStyle HorizontalAlign="Left" Width="20%" />

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn UniqueName="TemplateColumn2" SortExpression="ApplicationStatusName"

 

 

HeaderText="USA">

 

 

<ItemTemplate>

 

 

<telerik:RadNumericTextBox ID="txtUSA" runat="server" Text='<%# Bind("Gro_USA") %>'

 

 

Width="90%" />

 

 

</ItemTemplate>

 

 

<ItemStyle HorizontalAlign="Left" Width="20%" />

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn UniqueName="TemplateColumn2" SortExpression="ApplicationStatusName"

 

 

HeaderText="Other">

 

 

<ItemTemplate>

 

 

<telerik:RadNumericTextBox ID="txtOther" runat="server" Text='<%# Bind("Gro_Other") %>'

 

 

Width="90%" />

 

 

</ItemTemplate>

 

 

<ItemStyle HorizontalAlign="Left" Width="20%" />

 

 

</telerik:GridTemplateColumn>

 

 

<telerik:GridTemplateColumn UniqueName="TemplateColumn2" SortExpression="ApplicationStatusName"

 

 

HeaderText="Total">

 

 

<ItemTemplate>

 

 

<telerik:RadNumericTextBox ID="txtTotal" runat="server" Text='<%# Bind("Gro_Total") %>'

 

 

Width="90%" />

 

 

</ItemTemplate>

 

 

<ItemStyle HorizontalAlign="Left" Width="20%" />

 

 

</telerik:GridTemplateColumn>

 

 

</Columns>

 

 

<EditFormSettings>

 

 

<EditColumn UniqueName="EditCommandColumn1">

 

 

</EditColumn>

 

 

</EditFormSettings>

 

 

<PagerStyle Mode="Slider" />

 

 

<CommandItemTemplate>

 

 

<table style="width: 100%;">

 

 

<tr>

 

 

<td width="23">

 

 

<asp:Image ID="Image2" runat="server" ImageUrl="~/Images/Icons/20/Add.png" />

 

 

</td>

 

 

<td>

 

 

<asp:LinkButton ID="Button1" runat="server" CommandName="AddSoli" Font-Bold="true"

 

 

Text="Add New Member" CausesValidation="false" />

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

</CommandItemTemplate>

 

 

</MasterTableView>

 

 

<ClientSettings EnableRowHoverStyle="true" Selecting-AllowRowSelect="true">

 

 

<Selecting AllowRowSelect="True" />

 

 

</ClientSettings>

 

 

<FilterMenu EnableTheming="True">

 

 

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

 

 

</FilterMenu>

 

</

 

telerik:RadGrid>

 



I need a javascript code that gives me the total of all amounts entered in previous columns.

can any on help?
Mike Kretzler
Top achievements
Rank 2
 answered on 10 Aug 2009
1 answer
100 views
I seem to recall a setting that would force all of the details tables to populate on page load, which would then cause expanding / collapsing to happen client-side.

Can anyone assist with information or a url that describes this behavior?

Thanks,
Matt
Matt
Top achievements
Rank 1
 answered on 10 Aug 2009
11 answers
211 views
Hello,

I've noticed that when we paste from Word sometimes <p> tags get changed to the following:

<p style="margin: 0in 0in 0pt">

Why is this happening?

Thanks,
Christian
Amey
Top achievements
Rank 1
 answered on 10 Aug 2009
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?