Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
122 views
Hi,

We have purchased telerik controls, and having difficulty in RadMenu.
Please look at -
http://183.182.91.146/Golfpyramid/Home.aspx

When "Home" menu is selected, it shows different background. But when we select any other menu, then it does not highlight it as it does for "Home".

Can you please tell us what could be the issue?

Kate
Telerik team
 answered on 21 Sep 2012
4 answers
520 views
Hey Peeps,

I have a bit of a problem here. I'm trying to populate a RadComboBox using a web service. It's working as expected however, some combo boxes needs to be populated dynamically. Basically I have three combo boxes on a page. The first combo box is populated using the standard ASP SqlDataSource object. The second combo box needs to be populated according to the selection of the first combo box and the third combo box needs to be populated according to the first and second combo box selections. All three combo boxes have their 'CheckBoxes' property set to true (multi selection required across all three combo boxes). I can manage the first two combo boxes using the SqlDataSource however I need to have something like the EnableLoadOnDemand function on the third combo box. If the client has selected ALL categories on the first combo box and ALL categories on the second combo box, then the third combo box will need to be populated with all available products (+/- 123 000 records). In a normal scenario using the SqlDataSource it takes a very long time to populate. I'm trying to find a way that will reduce loading time.

How do you suggest I approach this situation? What I've done so far is to create a web service to handle the data, but I need to specify the categories and sub categories so that the products are filtered correctly. Is there a way to refresh the web service on the combo box so that these items are populated correctly? (calling DataBind() does not affect the combo box when the LoadOnDemand is set to true).

The control:

<telerik:RadComboBox ID="cboSubCategories" runat="server" EmptyMessage="Select" AutoPostBack="true" OnSelectedIndexChanged="cboSubCategories_SelectedIndexChanged" AllowCustomText="true" Enabled="false" CheckBoxes="true" EnableCheckAllItemsCheckBox="true" EnableLoadOnDemand="false" EnableItemCaching="true" Width="324px">
                        <WebServiceSettings Path="ComboBoxWebService.asmx" Method="GetSubCategories"></WebServiceSettings>
                    </telerik:RadComboBox>

In the code-behind I'm trying to re-assign the web service settings:

string[] serviceInputArray = checkedValues.Split(';');
 
            ComboBoxWebService service = new ComboBoxWebService();
            service.SetSubCategoryValues(serviceInputArray);
 
            cboSubCategories.Enabled = true;
            cboSubCategories.EnableLoadOnDemand = true;

But with the above coding, the page returns an error 'Object reference not set to an instance of an object'. If I remove the coding, then the service populates nothing (because I'm not setting any values into the web service to retrieve categories from). When I don't set the <WebServiceSettings> into the control, and assign it in the code-behind, then the same error is shown.

Any solutions or suggestions will be greatly appreciated!
Tom
Top achievements
Rank 1
 answered on 21 Sep 2012
1 answer
145 views
Hi,

My RadTreevies displays child nodes in horizontal order.
Image attached, How can I chage it to veritical order?

Here is my aspx.

 

<telerik:RadTreeView ID="radTreeViewUsers" MultipleSelect="true" EnableDragAndDrop="true"
  
Height="500px"  runat="server">
  
</telerik:RadTreeView>

This is how I bind data.

 

 

 

 

 

radTreeViewUsers.DataSource = dt1;
radTreeViewUsers.DataFieldParentID = "MANAGER_USER_PROFILE_ID";
  
radTreeViewUsers.DataTextField = "FULLNAME_WITH_PROFILE";
  
radTreeViewUsers.DataValueField = "USER_PROFILE_ID";
  
radTreeViewUsers.DataBind();
  
radTreeViewUsers.ExpandAllNodes();

Appreciate your help here.

Thanks,
Ramesh

Princy
Top achievements
Rank 2
 answered on 21 Sep 2012
6 answers
425 views
Hi All,

I have a file upload control inside the rad grid.. when i try to upload a file using file upload its not working properly.. i wish to retrieve the file path on my code behind.... please help 

Regards,
Prassin
Prassin
Top achievements
Rank 1
 answered on 21 Sep 2012
5 answers
131 views
I am using a RadDataPager to allow my user to page through a series of records.

I am successfully keeping track of every thing.
I should mention I am doing this in code-behind.

I respond to the OnCommand events, get the data, and present each record as they interact with the pagination.

I also want to allow them to add and delete data.

I respond to the TotalRowCount request which seems to get triggered when I issue a FireCommand evet at the DataPager.

Everything works well on the add. The Total row count and current page is updated and the user is positioned on the correct data.

However when I want to remove an entry the current page value in the UI is set to 1.

Now the data being presented is incorrect and if they click Next my code traps because my internal index is set to the wrong value.

I am firing a command with my desired page number but it always sets the DataPage to page 1.

My current work around is to set my internal index to zero.
Tsvetoslav
Telerik team
 answered on 21 Sep 2012
4 answers
210 views
I'm using a RadGrid with a GridClientSelectColumn and paging is enabled.  I want to perform row deletions in the ItemCommand event handler when a "Delete Checked" linkbutton in the command row is clicked.

I check two rows in the GridClientSelectColumn on the first page, then page forward to 2nd page and check 2 more rows.  When I click the "Delete Checked" linkbutton, the ItemCommand event handler spins through the radgrid.SelectedItems and deletes the two rows checked on the 2nd page, but not the two checked rows on the first page.  I do understand why it works this way.  My question is, what approach should I use to accomplish what I want to do, since this way isnt going to cut it...
Tsvetoslav
Telerik team
 answered on 21 Sep 2012
2 answers
141 views
Hello All,
Greeting of the day!

How we can bind tooltip on x axis label item.
Please suggest me.

I have attached image file have a look this.


Thanks
Viky
Viky
Top achievements
Rank 1
 answered on 21 Sep 2012
0 answers
73 views
Hi All,

Greeting of the day!

I am using radchart control on my page. When page is loading then i am getting following error message:

Error loading Radchart image.
You may also wish to check the asp.net trac for futther details.
Display stack trace?

Please suggest me how i fix this issues.

Thanks
Viky
Viky
Top achievements
Rank 1
 asked on 21 Sep 2012
1 answer
49 views
hello sir i have 1 question and 1 issue,

issue 1
i have been assigned to build an enterprise level CRM , supporting 500 users i would like to know how dependable is the ORM, and are there any performance issues, Please advise.


issue 2.

Also i pasted the follwing code in webform it displays

 

<div class="box"> 

<telerik:RadToolBar runat="server" ID="AboutToolbar" OnClientButtonClicked="buttonClicked"

 Style="z-index: 3000;">

 <Items>

 <telerik:RadToolBarButton Text="Help" CssClass="AboutToolButton" ImageUrl="Images/s.png" />

 <telerik:RadToolBarButton Text="Login" CssClass="DownloadToolButton"

 ImageUrl="Images/s.png" NavigateUrl="" />

 <telerik:RadToolBarButton Text="Support" CssClass="MoreToolButton" ImageUrl="Images/s.png"

 NavigateUrl="" Target="_blank" />

 </Items>

 </telerik:RadToolBar>

</div"> 



it displays ok on a webform

but on a masterpage if wraps to the next line and does not display the #AboutToolBar style from the stylesheet.

Thanks

Regards
Anwar
Plamen
Telerik team
 answered on 21 Sep 2012
3 answers
186 views
Does anyone have a code snippet or example on how to upload an excel file into memory? I don't need to save the file, I just want to process the contents. I'm trying to use the asyncupload component.

Thanks,
Rut
Princy
Top achievements
Rank 2
 answered on 21 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?