Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
152 views
Hi. I love the Telerik ASP.NET and Sharepoint controls. Is there a RadTabStrip web part for Sharepoint 2010? Is it possible to easily incorporate the existing RadTabStrip into Sharepoint 2010? I've been searching for an easy (and good looking) tabbing solution for Sharepoint and wondered if your beautiful controls can be used for this. Thanks.
Alex
Top achievements
Rank 1
 answered on 04 Jul 2011
3 answers
59 views
Hi All

I have three related combo boxes,
The second one of the three is load on demand where the user can type in custom text to search for records,
They all work fine on Initial load client side,
However when the user edits the second box and types in their desired value (the first box has loaded and has a value) it fails because it is always getting the value 0 from the first box?
The first box is not load on demand.
I am trying to obtain the value of the first box server side in the items requested event of the second.

something = RadComboBox.SelectedValue

I have tested my theory by replacing the selected value of the first combo with a static value in the code behind and everything works fine.
All three boxes are in the edit form of a rad grid.

Any advice would be most appriciated

Best Regards

Cush
Kate
Telerik team
 answered on 04 Jul 2011
1 answer
133 views
Hi all,
I have a Grid wich is using a NestedViewTemplate to display details when selected similar to the example here http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplatedeclarativerelations/defaultcs.aspx


Everything is working ok, except for one control.
I have a dropdown list that I use to display the preferred language in. When I select a record I get the error:

'DropDownList' has a SelectedValue which is invalid because it does not exist in the list of items

I found a document online that tells me:
...
The reason for this error is that your grid instance can not bind a value for the newly inserted item through the Eval()/Bind() syntax you hard-coded (as you may have seen from the stack trace of the error).

This problem can be fixed in the following ways:

  • preset the default value of the control(s) when binding to a grid item on the RadGrid.InitInsertCommandName command.

...

Here is the code I have in my NestedViewTemplate:
                                     <asp:DropDownList ID="cboLanguage" runat="server" DataSourceID="dsLanguage" DataTextField="Text"
                                            DataValueField="value" SelectedValue='<%# Bind("LanguageID") %>' AppendDataBoundItems="True"  >
                                            <asp:ListItem Value="-1">Please Select</asp:ListItem>
                                        </asp:DropDownList>
                                        <asp:ObjectDataSource ID="dsLanguage" runat="server" SelectMethod="FetchEntries"
                                            TypeName="BenemTech.SHSR_DonorMgmt.DAO.ListDAO">
                                            <SelectParameters>
                                                <asp:Parameter DefaultValue="Language" Name="GroupName" Type="String" />
                                            </SelectParameters>
                                        </asp:ObjectDataSource>

So the problem described makes a little sense, but I have no idea how to do what the document suggests.
I am using VS 2010 and simply can't find this InitInsertCommandName method or property or event

Can somebody please post simple code that would go in this event (once I find it) to make this work?

Thanks in advance.



I am willing to try this (not sure why it matters though) but

Princy
Top achievements
Rank 2
 answered on 04 Jul 2011
9 answers
195 views
Hi,

I have a radmenu.When i select submenu it goes under another menu.This problem occurs only in IE 7.Please see the attached file.
Kate
Telerik team
 answered on 04 Jul 2011
3 answers
86 views
How can i add the telerik spell button in the RibbonBar
Sebastian
Telerik team
 answered on 04 Jul 2011
1 answer
98 views
Hi,

I need a new page in rtf. 

Sample:
RadEditor1.content = " rtf document page1 <br /> page1 new line -new page- rtf document page2"

RadEditor1.ExportToRtf()



Thank you.
Rumen
Telerik team
 answered on 04 Jul 2011
1 answer
114 views
Hi

I am facing issue while doing copy,paste and delete.After copy,paste and delete ,page is not refreshing properly
i used below code for refreshing

string

 

 

script = " var oExplorer = $find('" + RadFileExplorer1.ClientID + "');" +

 

 

 

" oExplorer.set_currentDirectory('" + dir + "');" +

 

 

 

" oExplorer.refresh();";

 


still is not refreshing..i am using telerik dll 2011.1.413.40 version.

see the attached image for reference.For completing my task i am loading full page again.that is nt correct case.please can u tel me how to refresh page after copy,paste or delete folder
Please can u help me out.
Dobromir
Telerik team
 answered on 04 Jul 2011
2 answers
552 views
Hi,
I want to remove white space after string in each cell in exported excel file from radgrid, see attached image. How to do it? Thanks.
Also the datetime field does not contain AM or PM. But in radgrid, they contain AM/PM. What is the problem?
york
Top achievements
Rank 1
 answered on 04 Jul 2011
7 answers
157 views
Hi !

A little question to the timeline view.

We use the TimelineView with resources.

The Resources are grouped by a group and a name

eg.:
GROUP 1 :: Markus
GROUP 2 :: Dave

Currently we display this resources as a table in each resource cell

<ResourceHeaderTemplate>

                    <asp:Panel ID="ResourceWrapper" runat="server" CssClass="ResCustomClass">

                        <asp:Table ID="ResourceTable" runat="server" Width="200px">

                            <asp:TableRow Width="200px">

                                <asp:TableCell Width="95px" HorizontalAlign="Right">

                                    <asp:Label ID="LGroup" Font-Bold="true" runat="server" Text='<%# Eval("resgroup") %>'></asp:Label>

                                </asp:TableCell>

                                <asp:TableCell HorizontalAlign="Center" Width="10px">

                                    <asp:Label ID="LSpacer" runat="server" Text="|"></asp:Label>

                                </asp:TableCell>

                                <asp:TableCell  Width="95px" HorizontalAlign="Right">

                                    <asp:Label ID="SpeakerImage" runat="server" Text='<%# Eval("Text") %>'></asp:Label>

                                </asp:TableCell>

                            </asp:TableRow>

                        </asp:Table>

                       

                    </asp:Panel>

                </ResourceHeaderTemplate>



Now, we need to add a sort function to this groups/names

My Question:
Is there a chance to display a table completely around the resources, where i can add a sorting ?
or
Can i access the cell (in timeline view) over all resources (it is always emtpy and act like a spacer), and add there
commandlinks, buttons or anything ?

thanks for your help

with best regards
Markus
Veronica
Telerik team
 answered on 04 Jul 2011
1 answer
96 views

Hi,

I am using this link for your example for chart to embed RadChart instances in template column of RadGrid.
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandchart/chartingrid/defaultvb.aspx?product=chart

               I am using VS 2010 and ADO.net entity data model and EntityDatasource instead of sqldatasource, the issue is chart is not being rendered for all roows except the last one.. I am getting an error at the statement  chart.DataSource = SqlDataSource2.Select(DataSourceSelectArguments.Empty) 'Value of type system.web.ui.DataSourceSelectArguments cannot be converted to integer.

What i use is  chart.DataSource = EntitylDataSource2.Select(DataSourceSelectArguments.Empty).
 The chart for the  last row of the grid  is displayed only, can you please advise?  Please see the result attached when I use

 

EntityDataSource2.WhereParameters(0).DefaultValue = item.GetDataKeyValue("Entity1").ToString()
            chart.DataSourceID = "EntityDataSource2"
            Commented out'chart.DataSource = EntityDataSource2.Select(DataSourceSelectArguments.Empty)

Here is my definition of EntityDataSource2

 

<asp:EntityDataSource ID="EntityDataSource2" runat="server" 
            ConnectionString="name=TEntities" DefaultContainerName="TEntities"
            EnableFlattening="False" EntitySetName="Entities" 
                        
            Select="it.[Entity1], it.[Type], it.[Entity_Desc], it.[Active], it.[Cnt], it.[Dataupdtthru]" 
            EntityTypeFilter="" OrderBy="it.[Entity1]"     Where="it.[Entity1] = @Entity">
          
<WhereParameters>
    <asp:Parameter  DbType="string"   Name="Entity"  />
 </WhereParameters>
  </asp:EntityDataSource>




 

 

Yavor
Telerik team
 answered on 04 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?