Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
110 views
Hey, your context menu on the latest Service Pack crashes Safari.  You can see this on one of your demos:

http://www.telerik.com/demos/aspnet/prometheus/Menu/Examples/ContextMenu/Default/DefaultCS.aspx

I've tried this on both Mac and PC.

Very disappointing!
Helen
Telerik team
 answered on 20 Jun 2008
6 answers
158 views
Hello All,

Just started playing around with the controls and they are great! I'm having one small issue where I have a radcombo box with radiobuttons.

If I select an item in the combo box under firefox it works fine. If I select an item under IE it does not work.  Autopostback is set to true. And I have the RadAjaxmanger enabled for the combo box.

Any ideas?

  protected void RadioButtonList1_SelectedIndexChanged1(object sender, EventArgs e)  
        {  
            RadioButtonList radiodayweek = (RadioButtonList)RadComboBox2.SelectedItem.FindControl("RadioButtonList1");  
            Profile.Chartdayweek = radiodayweek.SelectedValue.ToLower();  
            Label1.Text = Profile.Chartdayweek;  
        } 

<telerik:RadComboBox ID="RadComboBox2" Runat="server" Skin="Sunset"   
        Width="385px" AutoPostBack="True">  
          
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
        <ItemTemplate> 
            Select Day or Week<asp:RadioButtonList ID="RadioButtonList1" runat="server"   
                AutoPostBack="True" Height="27px"   
                onselectedindexchanged="RadioButtonList1_SelectedIndexChanged1"   
                RepeatDirection="Horizontal" Width="221px">  
                <asp:ListItem Selected="True">Day</asp:ListItem> 
                <asp:ListItem>Week</asp:ListItem> 
            </asp:RadioButtonList> 
            <br /> 
            Select Chart Type<br /> 
            <asp:RadioButtonList ID="RadioButtonList2" runat="server" AutoPostBack="True"   
                Height="26px" onselectedindexchanged="RadioButtonList2_SelectedIndexChanged"   
                RepeatDirection="Horizontal" Width="224px">  
                <asp:ListItem Selected="True">Bar</asp:ListItem> 
                <asp:ListItem>Line</asp:ListItem> 
                <asp:ListItem>Spline</asp:ListItem> 
            </asp:RadioButtonList> 
        </ItemTemplate> 
        <Items> 
            <telerik:RadComboBoxItem /> 
        </Items> 
    </telerik:RadComboBox> 
Helen
Telerik team
 answered on 20 Jun 2008
1 answer
106 views
Hi,

I need to add a Telerik drop down to a Telerik grid at run time.  How do I do this in C#?

I am populating my grid like this, it has 3 columns:

// Column headings
dt.Columns.Add(new DataColumn("Client"));
dt.Columns.Add(new DataColumn("Invoice No"));
dt.Columns.Add(new DataColumn("Action"));

I populate my rows like this (only for test puposes for now):

// Rows
dt.Rows.Add(new object[] { "12345", "123" });
dt.Rows.Add(new object[] { "23456", "234" });

As you will see it only adds for column 1 and 2.  Column 3 needs a Telerik drop down.  How do I add it dynamically?

Thanks
Brendan
Rosi
Telerik team
 answered on 20 Jun 2008
5 answers
158 views
Hi,

I used this: 

<Scrolling AllowScroll="true" SaveScrollPosition="true" UseStaticHeaders="true" ScrollHeight="500px" />

and now my grid width changes in odd ways and it is so wide it has horizontal scoll bars.  I read this artticle and I think I'm doing it correctly: http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Client/Scrolling/DefaultCS.aspx

<telerik:RadGrid id="RadGrid1" runat="server" datasourceid="SqlDataSource1" gridlines="None"

skin="Office2007"

OnItemCommand = "RadGrid1_ItemCommand"

OnItemCreated="RadGrid1_ItemCreated"

Width="800px"

AllowSorting="True" ShowFooter="True" EnableAJAX="True">

<

ClientSettings EnableRowHoverStyle="True" >

<

Selecting AllowRowSelect="True" />

<

ClientEvents OnRowClick="Dummy"></ClientEvents>

<Scrolling AllowScroll="true" SaveScrollPosition="true" UseStaticHeaders="true" ScrollHeight="500px" />

</

ClientSettings>

<

pagerstyle mode="NumericPages" position="TopAndBottom" />

<

MasterTableView DataSourceID="SqlDataSource1" AutoGenerateColumns="False" AllowAutomaticDeletes="true" DataKeyNames="CourseIDX" CommandItemDisplay="Top" ClientDataKeyNames="CourseIDX">

<

Columns>

<

telerik:GridBoundColumn DataField="CourseIDX" UniqueName="CourseIDX" HeaderText="CourseIDX" Display="False"></telerik:GridBoundColumn>

<

telerik:GridBoundColumn DataField="CourseID" UniqueName="CourseID" HeaderText="CourseID" Display="false"></telerik:GridBoundColumn>

<

telerik:GridBoundColumn DataField="Name" UniqueName="Name" HeaderText="Name" Display="True" > <ItemStyle Width="300px" HorizontalAlign="Left"/></telerik:GridBoundColumn>

<telerik:GridTemplateColumn HeaderText="Preview" UniqueName="Preview">

<ItemTemplate>

<asp:HyperLink ID="Preview" runat="server"

ImageUrl="~/images/nav/search.gif"></asp:HyperLink>

</ItemTemplate>

<ItemStyle Width="50px" HorizontalAlign="Center"/>

</telerik:GridTemplateColumn>

<telerik:GridTemplateColumn HeaderText="Course Properties" UniqueName="EditCourse">

<ItemTemplate>

<asp:HyperLink ID="EditCourse" runat="server"

ImageUrl="~/radcontrols/grid/skins/edit.gif"></asp:HyperLink>

</ItemTemplate>

<ItemStyle Width="50px" HorizontalAlign="Center"/>

</telerik:GridTemplateColumn>

<telerik:GridTemplateColumn HeaderText="Edit Tree" UniqueName="EditTree">

<ItemTemplate>

<asp:HyperLink ID="EditTree" runat="server"

ImageUrl="~/images/fileimages/3domain.gif"></asp:HyperLink>

</ItemTemplate>

<ItemStyle Width="50px" HorizontalAlign="Center"/>

</telerik:GridTemplateColumn>

<telerik:GridTemplateColumn HeaderText="Edit Sheet" UniqueName="EditSheet">

<ItemTemplate>

<asp:HyperLink ID="EditSheet" runat="server"

ImageUrl="~/images/fileimages/resx.gif"></asp:HyperLink>

</ItemTemplate>

<ItemStyle Width="50px" HorizontalAlign="Center"/>

</telerik:GridTemplateColumn>

<telerik:GridTemplateColumn HeaderText="Edit Points" UniqueName="Points">

<ItemTemplate>

<asp:HyperLink ID="Points" runat="server"

ImageUrl="~/images/fileimages/resx.gif"></asp:HyperLink>

</ItemTemplate>

<ItemStyle Width="50px" HorizontalAlign="Center"/>

</telerik:GridTemplateColumn>

<telerik:GridButtonColumn ButtonType="ImageButton" HeaderText="Student Status"

ImageUrl="~/radcontrols/grid/skins/windows/update.gif"

CommandName="SStatus" UniqueName="SStatus" >

<ItemStyle Width="50px" HorizontalAlign="Center"/>

</telerik:GridButtonColumn>

 

<

telerik:GridButtonColumn UniqueName="column" HeaderText="Delete" ConfirmText="Confirm Delete of Course!!!" Text="Delete" CommandName="Delete" ButtonType="ImageButton">

<ItemStyle Width="50px" HorizontalAlign="Center"/>

</telerik:GridButtonColumn>

</Columns>

 

<RowIndicatorColumn Visible="False">

<HeaderStyle Width="20px" />

</RowIndicatorColumn>

<ExpandCollapseColumn Resizable="False" Visible="False">

<HeaderStyle Width="20px" />

</ExpandCollapseColumn>

<

EditFormSettings>

<

EditColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"></EditColumn>

</

EditFormSettings>

<CommandItemTemplate>

<asp:LinkButton ID="LinkButton4" runat="server" CommandName="Rebind"><img style="border:0px" alt="" src="/RadControls/Grid/Skins/Windows/Refresh.gif" /> Refresh</asp:LinkButton> &nbsp;

&nbsp;

&nbsp;

<asp:Image ID="Image1" runat="server"

ImageUrl="~/RadControls/Grid/Skins/Windows/AddRecord.gif"/>

<a href="/Instructor/ICWNewCourse.aspx" target="_blank">New Course</a>

</CommandItemTemplate>

</

MasterTableView>

<ExportSettings>

<Pdf PageBottomMargin="" PageFooterMargin="" PageHeaderMargin="" PageHeight="11in"

PageLeftMargin="" PageRightMargin="" PageTopMargin="" PageWidth="8.5in" />

<

Excel Format="Html"></Excel>

<

Csv RowDelimiter="NewLine" ColumnDelimiter="Comma"></Csv>

</ExportSettings>

</

telerik:RadGrid>

david
Top achievements
Rank 1
 answered on 20 Jun 2008
1 answer
98 views
Hi there,

We are planning a migration to ASP.NET AJAX. I understand from the documentation that the Custom Colors have been removed. We use this functionally on a major scale. Is there a hack around it?

Also are there any known differences in how the HTML is rendered in view mode? So if we were to migrate, do we have to worry about some of our content looking out of place?


Regards,
Nima
Rumen
Telerik team
 answered on 20 Jun 2008
1 answer
147 views
Is there a way to specify the ValueFormat of the RadChart.PlotArea.DataTable?  ValueFormat is not a valid property under Appearance as it is with X-Axis/Y-Axis, and the format does not propogate down. 
Ves
Telerik team
 answered on 20 Jun 2008
1 answer
54 views
Hi,

I have few custom ascx dropdown which I need to include as a column. I have populated the dropdown in the Load event of the control. I have used EditItemTemplate to add these controls to the columns.

The problem is that after I select a value from dropdown and click Update, it posts back the page and the radgrid gets created from scratch (As I am using dynamic creation of grid). The template is again fired and the controls are newly created. This erases the value from the dropdown.

Is this the right approach to add custom controls in grid or else I can use ItemDataBound event to create the controls?

Sridhar
Veli
Telerik team
 answered on 20 Jun 2008
1 answer
112 views
Is it possible to create reports (export to excel,pdf,save to a file) using telerik asp.net for Ajax. If so are there any examples?
Steve
Telerik team
 answered on 20 Jun 2008
5 answers
192 views
I just upgraded from Prometheus and I noticed a slight GUI bug
The grid is set to static header with Skin Office2007. The header background on top of the scrollbar is shorter, showing ugly white background. I noticed that switching to skin Default and other skins with the same height as default, it rendered just fine. And if I remove the checkbox column, its also correct.

Screenshot below:
<img src=http://www.m1o.com/temp/bug-grid-staticheader.png />

Any quick hack would be greatly appreciated.

Regards,
Rei
Dimo
Telerik team
 answered on 20 Jun 2008
2 answers
181 views
Hello,

With last 621 built, they disappear when using this skin, even forcing style color to black ???
This does nothing:
 <asp:TextBox runat="server" ID="AppAppSettingsXml" TextMode='MultiLine'
 Height="300px" Width="100%" style="border-color:White; border-style:solid; font-family: Arial, Helvetica, sans-serif; font-size: 17px;"  ToolTip="TEST TEXT TOOLTIP" >TEST TEXT 1 TEST TEXT 2
                                TEST TEXT 3 TEST TEXT 4 TEST TEXT 5 TEST TEXT 6</asp:TextBox>

and without the TextMode=Multiline it is ok ?

Is there a solution ?
Thanks
CS
CSurieux
Top achievements
Rank 2
 answered on 20 Jun 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?