Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
164 views
Hi, I recently installed asp.Net Ajax control toolkit. But in my program files /telerik folder i didnt find RadTabStrip.Net2.dll. But i Have Telerik.Web.UI.dll and Telerik.Web.Design.dll. I just installed trail version. For trail version do we get RadTabStrip.Net2.dll. Please elt me know. Its urgent.

Thanks
Yana
Telerik team
 answered on 26 May 2010
7 answers
153 views
Hi,

Are there any plans on improving the functionality and appearance of the Telerik charts?  The focus seems to have switched to Silverlight with the ASP.Net side of things being left to stagnate somewhat.

One especially big hole in the package is for Gauges.

Also short of adding extras in I feel that much much more needs to be added to the demo section for Charts, show us how to do all kinds of custom views and tweaks.  Most of the Telerik controls have great documentation and demos while the charting side of it feels to me to be something of a tacked on backwater.

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 26 May 2010
1 answer
112 views
Hi There,

Is there a way to disable to disable some columns (but still show the values) while the row is in edit mode?

Thanks
Shinu
Top achievements
Rank 2
 answered on 26 May 2010
1 answer
127 views
Hi

I am new to Ajax and Telerik products in particular but I have a problem with a page I have created.

I have defined a grid such that updates and inserts are handled by the insertcommand, updatecommand methods etc.

Everything works (much to my surprise and delight) except that the methods fire twice for every update, insert and delete.  I can of course handle this programatically but I would really like to know what I may have done which has caused it to happen.  I suspect that it is a grid property which I have set (or not set) but I cannot find anything obvious.

My second question relates to InPlace editing.  If something goes wrong with the database update, is there a slick way of reporting this back to the user.  I would really like to post a message alongside the record being edited but nothing I have tried seems to work.

Many thanks

Bob
Martin
Telerik team
 answered on 26 May 2010
6 answers
202 views
Hi,
I'm building a survey management tool and I'm now in the phase of showing the survey result. Some of the survey questions have the matrix type, so I'm using a column radchart control within a datalist to show their results and the radchart consists of multiple series.
My aspx looks like the following
<asp:DataList ID="ResultDataList" runat="server" Width="100%" > 
<ItemTemplate> 
<table width="100%">  
<tr> 
<td> 
<%#Eval("Question")%> 
    <asp:HiddenField ID="QuestionIDField" runat="server" Value='<%#Eval("QuestionID") %>' /> 
</td> 
</tr> 
<tr> 
<td > 
<telerik:RadChart ID="RadChart1" runat="server" Width="500" Height="250" ChartTitle-Visible="false" CreateImageMap="false"   DataGroupColumn="ColumnText"
                  
                                 <PlotArea> 
                        <XAxis DataLabelsColumn="OptionText"
                </XAxis>  
                        
               </PlotArea> 
                 
                                 
                            </telerik:RadChart> 
</td> 
</tr> 
<tr><td><hr /></td></tr> 
</table> 
</ItemTemplate> 
</asp:DataList> 
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:SurveyDBConnectionString %>" 
            SelectCommand="select optiontext,text,isnull((select COUNT(resultid)  from SurveyResult where OptionID=SurveyOption.OptionID and ColumnID=ColumnOption.ColumnOptionID   group by OptionID ),'0') as RespondentCount from SurveyOption,ColumnOption  where  SurveyOption.QuestionID=ColumnOption.QuestionID and SurveyOption.QuestionID= @QID"
            <SelectParameters> 
                <asp:Parameter Name="QID" /> 
            </SelectParameters> 
        </asp:SqlDataSource> 
and my code behind page looks like this:
 Protected Sub ResultDataList_ItemDataBound(ByVal sender As ObjectByVal e As System.Web.UI.WebControls.DataListItemEventArgs) Handles ResultDataList.ItemDataBound 
        If (Not e Is NothingThen 
            Dim chart As RadChart = CType(e.Item.FindControl("RadChart1"), RadChart) 
            Dim h As HiddenField = CType(e.Item.FindControl("QuestionIDField"), HiddenField) 
 
            SqlDataSource2.SelectParameters(0).DefaultValue = h.Value 
            chart.DataSource = SqlDataSource2.Select(DataSourceSelectArguments.Empty) 
            chart.Legend.Appearance.GroupNameFormat = "ColumnText" 
           chart.DataBind() 
        End If 
    End Sub 
my problems are the following:
1) The legend take the value from XAxis DataLabelsColumn "OptionText" and I wanna show the series value "ColumnText"
2) the labels above the sries showed the YAxis value "RespondentCount" and I wanna show series value "ColumnText"

Any help please...
Thank's in advance..

Ves
Telerik team
 answered on 26 May 2010
1 answer
42 views
We have a requirement where we DO NOT want the 'checkbox' to be checked when the user clicks on any column of the row, except for the checkbox itself. Is there any way to achieve it?

FYI: We are using 2008.2.1001.35 version of Telerik. "UseClientSelectColumnOnly" is not an option to use.

Best Regards,
-sa
Shinu
Top achievements
Rank 2
 answered on 26 May 2010
1 answer
69 views
I have a RadGrid with a NestedViewTemplate containing a TabStrip. The TabStrip contains three RadPageViews. One of the RadPageViews will be used to view and edit the record shown in the RadGrid. I am not using inline editing on the RadGrid because the Rows contain an abbreviated view of the data, i.e. not all fields are shown ( and the client requested that a RadTabStrip be used).

I am able to display the data in the RadPageView using a simple table and binding the data to dropdownlists, textboxes, checkboxes, etc.

Does anyone know of a sample that shows how to edit data in a RadPageView for a TabStrip inside a RadGrid? I thought that an EditForm would be the way to go but it is not recognized inside the RadPageView.

NOTE: This is like the "Heirarchy with Templates" sample but being able to edit the Contact Information tab.

Thanks for any help you can provide!
Martin
Telerik team
 answered on 26 May 2010
3 answers
107 views
Guys,

i'm having a bit of a problem on my RadGrid, we have an ID column. We have to have blank ID values in our ID column thats being bound... so we've passing in our ID as a string to the RadGrid at the moment, unfortunatly on SORT its sorting it as a String rather than and INT... any ideas of how to get by this so our sort works correctly.. please find the attached image of whats currently happening...


Tsvetoslav
Telerik team
 answered on 26 May 2010
1 answer
74 views
I have a tabstrip at the top of the page. The navigate URL of each tab points to a javascript funtion. This function alters the contents of an IFRAME elsewere on the page. Also, it unselects the previously selected tab, changes it's text to be non-bold, then selects the clicked-on tab and makes the new tab bold.

The problem is that occassionally, when switching from one tab to another, the previously selected tab appears to still be selected. It's font is not bold but it is styled in a way that makes it still seem selected. Is this a known issue? Is there a workaround?


Peter
Top achievements
Rank 1
 answered on 26 May 2010
3 answers
176 views

I have a normal RadGrid and in that grid columns like this:

<telerik:GridTemplateColumn   
    HeaderText="MyColumn"   
    UniqueName="MyColumn">  
    <ItemTemplate>       
        <asp:Label ID="MyColumnLabel" runat="server" Text='<%# Eval("MyColumn") %>'></asp:Label>       
    </ItemTemplate>       
    <EditItemTemplate> 
        <telerik:RadComboBox   
            ID="Domains"   
            DataTextField="MyColumn"   
            DataValueField="MyColumnID" 
            Runat="server">  
        </telerik:RadComboBox> 
    </EditItemTemplate>       
</telerik:GridTemplateColumn> 

Then in the code-behind:

protected void MyGrid_OnItemDataBound(object sender, GridItemEventArgs e)  
{  
    if ((e.Item is GridEditableItem) && e.Item.IsInEditMode)  
    {  
        GridEditableItem gridEditableItem = (GridEditableItem)e.Item;  
 
        RadComboBox myComboBox = (RadComboBox)gridEditableItem.FindControl("MyComboBox");  
 
        this.businessData = new BusinessData();  
 
        // Don't worry about this. It pulls data from the business layer and databinds the ComboBox.  
        TelerikHelper.BindRadComboBox(myComboBox, businessdataData.Select(), false);  
    }  

Everything works fine as is. In non-edit view, the correct value is displayed and in edit view, the combobox is displayed, populated with values.

But I also want to set the selected item in the databound dropdown to the text value set in MyColumnLabel.

I must be having an off-day because I simply cannot work out how to do it :(

Can anyone enlighten me? I've been through any number of examples on the Telerik site with no luck.

Regards,
Richard

Richard Weeks
Top achievements
Rank 2
 answered on 26 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?