Telerik Forums
UI for ASP.NET AJAX Forum
18 answers
471 views
I want to implement related RadComboBoxes and have been studying the demo in \RadControls for ASP.NET AJAX Q1 2010\Live Demos\ComboBox\Examples\Functionality\MultipleComboBoxes.  I added a Submit button to see what would happen on postback, and the only combobox that retains its value is the Continent combobox.  The Country and City comboboxes lose all their data.  I set EnableLoadOnDemand to true for the Country and City comboboxes, and then the selectedvalue and data in the drop-down was retained on postback, but if I try to select a different Country I get: "Conversion failed when converting the nvarchar value 'New Delhi' to data type int."  This happens on both the Country and City comboboxes whether EnableViewState is true or false.

What should I do to make the Country and City comboboxes retain the user's selection on postback?
Galobart
Top achievements
Rank 1
 answered on 31 Jul 2011
1 answer
168 views
Hello,
I am developing a web app using radajax and asp.net. my problem is Radbutton position. display Radbutton over the expanded menu item. see the attachment image. How can I solve it?

Thanks
Nahid
Jayesh Goyani
Top achievements
Rank 2
 answered on 30 Jul 2011
1 answer
119 views
Hello

Can anyone help with this CSS issue I have within my RadTreeNodes? The nodes of my RadTreeView are each instantiated with a node template that is dynamically loaded from an ASCX user control for each node using the Itemplate InstantiateIn method, as standard. This works fine, except that the markup generated for each node does not inherit the css styles from my external css stylesheet file that applies for the rest of the page. There is no problem with the styles and the file, it is something to do with the way that the user control is loaded. Normally I would expect to be able to insert a link in the ASCX markup, and for the control to link to the external CSS file that way:

<link rel='stylesheet' type='text/css' href='~/mypath/mystylesheet.css' />

This doesn't seem to work for a user control that is dynamically added when each RadTreeNode is instantiated. What is the recommended technique for allowing a user control to inherit CSS styles from the page, when the user control is used dynamically as the template for each node?

Thanks very much if anyone can cast some light on this mystery.

Regards

 
Paul Robertson
Top achievements
Rank 1
 answered on 30 Jul 2011
1 answer
88 views
Hi dear,
when i click on rotator i see this error: "Microsoft JScript runtime error: Object doesn't support this property or method"
this is my javascript code for itemclicked:

function

 

itemClicked_handler(sender, args)

 

{

log(sender.get_id() +

" item was clicked. Item index is " + args.get_item().get_index());

 

 

// gets reference to the rotator object

 

 

var rotator = $find("RadRotator1");

 

 

var currentIndex=args.get_item().get_index();

 

 

// Sets currently shown item by its index

 

rotator.set_currentItemIndex(currentIndex);

}

I have 2 rotator, RadRotator1 and RadRotator2. When I click on one of the 4 items of RadRotator2,  RadRotator1 must be initiate with that clicked item of RadRotator2.
nasrin
Top achievements
Rank 1
 answered on 30 Jul 2011
2 answers
880 views
I have a RAD Grid that I am using as a worklist for users.  One of the columns needs to have a button that is called "Complete" that they can click to remove this from the worklist (a simple database update for that record)).

       <telerik:GridButtonColumn CommandName="Complete" Text="Complete" 
            UniqueName="column">
        </telerik:GridButtonColumn>


However, what event of RadGrid is called when I click this button?
Jayesh Goyani
Top achievements
Rank 2
 answered on 30 Jul 2011
4 answers
210 views
document.ready is not working in RadEditor,
when i use  the following jquery code
<script>
  $(document).ready(function() {
    $("#accordion").accordion();
});
</script>

It shows as error in RadEditor
Darren
Top achievements
Rank 1
 answered on 30 Jul 2011
5 answers
1.4K+ views
We are loading elements of Radcombobox with event OnItemsRequested.
When the Radcombobox item is selected the OnSelectedIndexChanged not work.

<asp:UpdatePanel ID="upnDadosGerais5" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="false">
        <ContentTemplate>
          <div style="width: 949px;  overflow: auto">
                    <telerik:RadGrid ID="rgComposicao" runat="server"  AutoGenerateColumns="false"
                        OnNeedDataSource="Composicao__NeedDataSource"
                        OnItemDataBound="rgComposicao_ItemDataBound" Height="230px"
                        HorizontalAlign="Center">
                        <MasterTableView DataKeyNames="IdComposicao">   
                        <Columns>     
                         <telerik:GridTemplateColumn HeaderText="<%$ Resources:Label, FormAberto %>" DataField="FormAberto" HeaderStyle-Width="180" ItemStyle-Width="180"
                                    UniqueName="FormAberto" SortExpression="FormAberto">
                                    <ItemTemplate>
                                        <telerik:RadComboBox ID="rdFormatoAbertoComprimento" runat="server" EnableEmbeddedSkins="false"                                                                                
                                            Skin="GraphControl" Width="160" DropDownWidth="150" EnableLoadOnDemand="True"
                                             Height="200"
                                            OnItemsRequested="rdFormatoAbertoComprimento_OnItemsRequested"                                           
                                            OnSelectedIndex="rdFormatoAbertoComprimento_OnSelectedIndexChanged"
                                            OnDataBinding="rdFormatoAbertoComprimento_OnDataBinding"
                                            EnablePostBackOnRowClick="true">
                                        </telerik:RadComboBox>                                                                                                                
                                    </ItemTemplate>                                  
                                </telerik:GridTemplateColumn>
                        </Columns>                                                    
                        </MasterTableView>
                    </telerik:RadGrid>
          </div>
       </ContentTemplate>
   </asp:UpdatePanel>


Mário Alessand Gonçalves Oliveira
Top achievements
Rank 1
 answered on 29 Jul 2011
1 answer
108 views
Hello,

I have a RadGrid that upon page load is populated with data via a default query (built via the GUI) thats fine... I also have drop down list on that page and when a user select a category from that list the Grid Rebinds to only show items in that category, It works fine (hand coded)... However when a user then selects the next page the RadGrid reloads items from the default query...

How to get the RadGrid to use the last Rebind/query when paging?

(ASP/VB.Net 2008)

Thanks
Shane
Jayesh Goyani
Top achievements
Rank 2
 answered on 29 Jul 2011
4 answers
1.0K+ views
I want to upload a single file to my application using RadAsyncUpload.
<telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" AllowedFileExtensions="jpg,jpeg,png,gif"
                    MaxFileSize="524288" OnFileUploaded="RadAsyncUpload1_FileUploaded"
                               OnClientValidationFailed="validationFailed" MaxFileInputsCount="1">
                </telerik:RadAsyncUpload>
I restricted the input count to 1, which will disable the select file option after selecting one file, when i removed the file  it will show the select option
again,which is working for files with right extension only, for wrong extensions files  when i removed the file,  the select option is not visible, i want to show select option in both cases in my application.How can i achieve it.
illumination
Top achievements
Rank 2
 answered on 29 Jul 2011
0 answers
67 views
nevermind,
I found the problem....
Sheepdog
Top achievements
Rank 1
 asked on 29 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?