Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
224 views
I can hightlight a work and click the hyperlink button on the toolbar which has a place to put a bookmark, but i don't see a way to link to the bookmark after I have created it.

Can someone help with this?
Lini
Telerik team
 answered on 21 Oct 2008
1 answer
70 views
I want to build an ajax control extender which targets a radComboBox.  When the combobox is changed, it reads the new value and then pass it to a web service to obtain a depended value from database.  Then the depended value will be put in another control, say a textbox.

The problem I encountered is that the target control inside my extender .js code lose the client api of the radcombobox.  For example, calling get_value() gives me error of unsupported method.  Is it possible to know the index of a radcombobox inside the array Telerik.Web.UI.RadComboBox.ComboBoxes?

Your advice is much appreciated.

Edwin
Edwin
Top achievements
Rank 1
 answered on 21 Oct 2008
1 answer
74 views
Hai

I have a doubt on adding RadChart controls.
I downloaded RadChart control and installed. It is properly coming inside visual studio 2005 toolbox.
 After that I drag this control in my web application.
Then i tried to add this code

<

radC:ChartSeries DataLabelsColumn="MyColumn" Type="bubble">

 

 

 

</radC:ChartSeries>

 


but it is showing a warning like this
 Unknown server tag 'radC:ChartSeries'.
 and it is showing build is successfull. But it is throwing error in browser like this.

Parser Error Message: Unknown server tag 'radC:ChartSeries'.
Source Error:
Line 22:             <Series>
Line 23:                 
Line 24: <radC:ChartSeries DataLabelsColumn="MyColumn" Type="bubble">Line 25:                 
Line 26:                 </radC:ChartSeries>
Source File: /Default.aspx    Line: 24





Ves
Telerik team
 answered on 21 Oct 2008
9 answers
333 views
Hello,
I bind a grid with many employees items. I tried to select the employee whose the key is mentionned in querystring : &EmployeeID=245.
If all items appear in one page, FindItemByKeyValue("EmployeeID",245)  returns my item. But if I display items in several pages, the method returns nothing because it only searchs in the page rendered (which is page 1 and I don't know the page for employee 245).
What is the best way to select the "key item" in multi pages without filtering records please ?
Thank you.
Yavor
Telerik team
 answered on 21 Oct 2008
2 answers
134 views
Hi,

I created a RadTree with BO and it's working perfect.
When I want to safe the eventualy change in my Database via BO I have a problem and sinds yesterday it is impossible for me to find the solution on your website.

I create the RadTree like this :

var categories = new Categories(); 
                List<Categories> listCategories = categories.GetAllByLanguageId(_languageId); 
                if (listCategories.Count > 0) 
                { 
                     
                    RadTreeView1.DataTextField = "Name"
                    RadTreeView1.DataFieldID = "CategorieId"
                    RadTreeView1.DataFieldParentID = "CategorieParentId"
 
                    RadTreeView1.DataSource = listCategories; 
                    RadTreeView1.DataBind(); 
 
                    RadTreeView1.Nodes.Insert(0, MainNode); 
                    // bool disabled duplicate function 
                    isTreeAlreadyExist = true
                }



No problem. The result is perfect.

The problem is if I want to save the change.
I use the code from your website but the value of each node are empty

IList<RadTreeNode> allNodes = RadTreeView1.GetAllNodes(); 
 
            try 
            { 
                for (int i = 0; i < allNodes.Count; i++) 
                { 
                     
                    var node = (RadTreeNode) allNodes[i]; 
                    if (int.Parse(node.Value) > -2) 
                    { 
 
                        int parentId = allNodes.IndexOf(node.ParentNode); 
                        int categorieId = 0; 
 
                        if (int.Parse(node.Value) > -1) 
                        { 
                            categorieId = int.Parse(node.Value); 
                        } 
 
                        var categorie = new Categories(categorieId); 
                        categorie.Name = node.Text; 
                        categorie.CultureId = cultureId; 
 
                        if (parentId > -1) 
                        { 
                            categorie.CategorieParentId = parentId; 
                        } 
 
                        categorie.CategorieId = categorie.AddUpdate(); 
                    } 
                } 

I don't very like this method to save the tree but this is the only way that i found.
Any idee why is always the value of the node empty.
Is in the binding the DataFieldId not the value of the nodes???

Thanks for your help.

Yves.



Yves
Top achievements
Rank 1
 answered on 21 Oct 2008
4 answers
249 views
Hi Guys,

I have used a RadGrid and trying figure out as to how do i get a reference to the controls in the edit form template.
What i want is when i click the edit button of the RadGrid then on EditCommand event or any other event get the DataKeyValue for the row whose edit is clicked and then get data from database based on that Key and populate the values inside the Edit form template with the Values returned.

If i don't use EditCommand then i can set Values like this:

Now the values in the textbox can be set through
<asp:TextBox ID="txtName" runat="server" Text="<%# Bind('Name') %>" Width="300px"></asp:TextBox> 

but how do i set value based on idex to this field
<asp:RadioButtonList ID="Rblpagetype" runat="server"
                                                                    <asp:ListItem>Company1</asp:ListItem> 
                                                                    <asp:ListItem>Company2</asp:ListItem> 
                                                                    <asp:ListItem>Company3</asp:ListItem> 
                                                                </asp:RadioButtonList> 

As i am not able to figure out how to do this I thought of using the EditCommand event or any other event but unable to get reference to this controls to set there Values..

Hope you guys getting me.. please reply soon..

Thanx
Princy
Top achievements
Rank 2
 answered on 21 Oct 2008
1 answer
239 views

 

Why doesnt this work ?
The following script is within an ItemTemplate hence the Container.FindControl..


if
(sender.get_id == $find('<%# Container.FindControl("RadComboBox1").ClientID %>').get_id ) {
j = 0;
}
else if (sender.get_id == $find('<%# Container.FindControl("RadComboBox2").ClientID %>').get_id) {
j = 1;
}
else if (sender.get_id == $find('<%# Container.FindControl("RadComboBox3").ClientID %>').get_id) {
j = 2;
}

 

Vladimir
Top achievements
Rank 1
 answered on 21 Oct 2008
0 answers
97 views
I have the database that will store the information of  "Mon, Tue, Wed, Thurs, Fri, Sat".

I want have a function that when my database (Mon) is not empty, then  user can select one of  the date which is fall in Monday.

For example:
In my database, the "Tue" & "Fri" is not empty. Then the user only can select the date that is on Tueday or Friday. For the date on Monday,Wednesday, Thursday,Saturday and Sunday is set to not selectable.

Jun Ting
Top achievements
Rank 1
 asked on 21 Oct 2008
1 answer
110 views

 

From design view adding rad tools, then on the page it wants System.Web.Extensions version 1.6, other controls use version 3.5, the problem is that you can't have both listings in web.config. When that happens the compiler doesn't know which version to use so it fails to build.

This was from the most recent trial download so that may just be the problem, but in any case, how do you deal with this?

 

 

tom
Top achievements
Rank 1
 answered on 20 Oct 2008
11 answers
586 views

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Telerik.Charting, Version=2.0.4.0, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 69:         <add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 70:         <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 71: <add assembly="Telerik.Charting, Version=2.0.4.0, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763"/>Line 72:         <add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 73:         <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>


i am using of rad controls 

<

product>

<

controlName>Controls</controlName>

<

radControlName>RadControls</radControlName>

<

firstLetter>C</firstLetter>

<

version>Q2 2008 SP1</version>

<

chmUrl></chmUrl>

<

manualUrl></manualUrl>

<

pdfManualUrl></pdfManualUrl>

</

product>

Serrin
Top achievements
Rank 1
 answered on 20 Oct 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?