Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
70 views
I have RadWindow poping up from RadGrid column click. I am always reloading the grid when RadWindow is closed to reflect the changes. If nothing has changed, I am wasting time and resources for reloading grid. How can I check if something has done in RadWindow? can I do that ?

Please help.... need experts guidence on this ...
Smiely
Genti
Telerik team
 answered on 04 Jul 2011
1 answer
186 views
Hi,

Im having some trouble with a simple Grid bound declaratively to an ObjectDataSource, on first PageLoad it works fine but after PostBack (sorting for example) the Grid goes empty as if it loses the DataSource. For testing purposes i also tried an asp:GridView and that works perfectly fine. Any Ideas on what could be the Problem?
The SelectMethod on the ObjectDataSource returns an DataSet.

<telerik:RadGrid
    ID="rgData"
    runat="server"
    AllowSorting="true"
    Skin="<%$Appsettings:TelerikSkin %>"   
    ClientSettings-AllowColumnsReorder="true"
    ClientSettings-Resizing-AllowColumnResize="true"
    DataSourceID="odsGrid"
    Width="400px"
    AutoGenerateColumns="false">
    <MasterTableView>
        <Columns>
            <telerik:GridBoundColumn
                HeaderText="AttributeName"
                SortExpression="AttributeName"
                DataField="AttributeName">
            </telerik:GridBoundColumn>               
            <telerik:GridBoundColumn
                HeaderText="DataValue"
                SortExpression="DataValue"
                DataField="DataValue">
            </telerik:GridBoundColumn>               
        </Columns>
    </MasterTableView>               
</telerik:RadGrid>
 
<asp:GridView
    ID="gData"
    runat="server"
    AllowSorting="true"
    DataSourceID="odsGrid"
    Width="400px"
    AutoGenerateColumns="false">
    <Columns>   
        <asp:BoundField
                HeaderText="AttributeName"
                SortExpression="AttributeName"
                DataField="AttributeName">       
        </asp:BoundField>               
        <asp:BoundField
                HeaderText="DataValue"
                SortExpression="DataValue"
                DataField="DataValue">
        </asp:BoundField>
    </Columns>   
</asp:GridView>
 
<asp:ObjectDataSource
    ID="odsGrid"
    SelectMethod="GetGridData"
    TypeName="dataViewGridInterface"     
    runat="server"></asp:ObjectDataSource>

Regards,
Alex
Princy
Top achievements
Rank 2
 answered on 04 Jul 2011
3 answers
145 views
Dear Telerik,

Not sure if I should be posting about IE9 Beta issues, but I think I have discovered one:

I have a databound RadComboBox in the itemtemplate of a datalist. The RadComboBox text property works for items contained in the RadComboBox but when freetext is entered this is not returned, only the original item in the RadComboBox.

It also seems to take two attempts to input free text.
Dimitar Terziev
Telerik team
 answered on 04 Jul 2011
4 answers
169 views
Has anyone been able to get scrolling to work with the iPhone Menu Appearance example?  When I have more Rad Items than will fix on the iphone / ipad screen, it will not scroll.  I'm also getting a Javascript error "iPodMenu" is undefined.  It's related to the javascript in the .aspx page controlling vertical and horizontal.

Ivan Zhekov
Telerik team
 answered on 04 Jul 2011
2 answers
142 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
52 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
117 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
190 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
76 views
How can i add the telerik spell button in the RibbonBar
Sebastian
Telerik team
 answered on 04 Jul 2011
1 answer
82 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?