Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
78 views
Hi,
         I am trying to freeze few columns in hierarchical grid and running into problems.Is Column fixing supported on Hierarchical grids.

Thanks
Princy
Top achievements
Rank 2
 answered on 04 Feb 2010
0 answers
125 views
Hello everyone,

I am currently working with radtreeview control.

I have used this control to display all the sitemaps for the website I am working on.Each node in this treeview are checkable but now I needed another checkbox  as an added control with each node with text 'canEdit' to assign permission to the users to edit sections or view sections of the particular sitemap.I have achieved the second checkbox for each node but now the issue is when I am checking the second checkbox , the second checkbox disappears and instead it checks the checkbox of the node...
 
//Class to specify node template as per node  
 
public class multipleColumnTreeViewNode : ITemplate  
            {  
                public void InstantiateIn(Control container)  
                {  
                    Label space = new Label();  
                    space.Text = ((RadTreeNode)container).Text + "          ";  
                    space.ID = "lbSpace";  
                    space.Attributes.Add("runat""server");  
                    container.Controls.Add(space);  
 
                    CheckBox cbCanEdit = new CheckBox();  
                    cbCanEdit.ID = "cbCanEdit";  
                    cbCanEdit.Attributes.Add("runat""server");  
                    cbCanEdit.AutoPostBack = true;  
                    cbCanEdit.CheckedChanged += new EventHandler(cbCanEdit_CheckedChanged);  
                    cbCanEdit.Text = "can edit";  
                    cbCanEdit.ForeColor = System.Drawing.Color.PaleGoldenrod;  
                    cbCanEdit.TextAlign = TextAlign.Left;  
                    container.Controls.Add(cbCanEdit);  
                }  
 
                private void cbCanEdit_CheckedChanged(object sender, EventArgs e)  
                {  
                   //Code here  
                }  
 
 
 //Adding actionCategory and user actions nodes to sitemap treeview nodes  
                    if (dtActionCategory.Rows.Count != 0 && datTable.Rows.Count != 0)  
                    {  
                        var actionCats = from actionCatsData in dbcontext.userActionCategories  
                                         where actionCatsData.actionCategoryID == int.Parse(datRow["actionCategoryID"].ToString())  
                                         select new { actionCatsData.actionCategoryID, actionCatsData.name };  
 
                        if (actionCats.Count() != 0)  
                        {  
                            foreach (var tempData in actionCats)  
                            {  
                                RadTreeNode actionCatNode = new RadTreeNode(tempData.name);  
                                actionCatNode.ToolTip = "ActionCategory - Tick to make all the actions under this category active for the role";  
                                actionCatNode.Value = "ActionCategory:" + tempData.actionCategoryID.ToString();  
                                actionCatNode.ForeColor = System.Drawing.Color.Yellow;                                  
                                treeNode.Nodes.Add(actionCatNode);  
 
                                var actions = from actionData in dbcontext.userActions  
                                              where actionData.actionCategoryID == int.Parse(datRow["actionCategoryID"].ToString())  
                                              select new { actionData.actionID, actionData.description };  
 
                                if (actions.Count() != 0)  
                                {  
                                    foreach (var data in actions)  
                                    {                                                                                                                                               
                                        RadTreeNode actionNode = new RadTreeNode(data.description);                                          
                                        actionNode.Text = data.description;  
                                        actionNode.NodeTemplate = new multipleColumnTreeViewNode();               
                                        actionNode.ToolTip = "Action - Tick to make this sitemap action active for the role";  
                                        actionNode.Value = "Action:" + data.actionID.ToString();                                          
                                        actionNode.ForeColor = System.Drawing.Color.PaleGoldenrod;                                         
                                        actionCatNode.Nodes.Add(actionNode);  
                                    }  
                                }  
                            }  
                        }  
                    }  
                    //Adding the node to the treeview with all the child nodes  
                    nodes.Add(treeNode);                     
                } 

I would really appreciate it if anyone could help me around this problem...

Thanks in advance,
Payal Sharma.
Payal Mandalia
Top achievements
Rank 1
 asked on 04 Feb 2010
1 answer
148 views
as we all know that your component has problems on totals when the radgrid is group more than one, so can you suggest to event on how to stop or alert user to group only 1 column in other words prevent them on grouping more than 1 columns so that to the totals are correctly displayed.  thanks..
Princy
Top achievements
Rank 2
 answered on 04 Feb 2010
6 answers
163 views
Hello Friends


I had used RadUpload control for upload multiple files.

I had used it in multiple pages not i want to change Addbutton text "Add" to "Add more" in single page, other page need to as it is.

So how i will change it in single page?

Please help me.

Thanks & Regards
Jignesh Patel
Jignesh
Top achievements
Rank 1
 answered on 04 Feb 2010
1 answer
96 views
in scheduler monthview how can i hilight the today cell.......
Shinu
Top achievements
Rank 2
 answered on 04 Feb 2010
4 answers
161 views
Hi All,

  I am trying to modify the existing 2009 Q3 Outlook skin and wanna reduce the line height of header, row, etc.
  By adding the line-height 12px in this section, it works in normal mode. However, when the grid is using Fixed header,
  the line height does not change. Please help, thx.
 
.RadGrid_Outlook_Compact .rgHeader,  
.RadGrid_Outlook_Compact th.rgResizeCol  
{  
 border:0;  
 border-left:1px solid #89aee5;  
 border-bottom:1px solid #5d8cc9;  
 padding-top:5px;  
 padding-bottom:4px;  
 background:0 -2300px repeat-x #7da5e0 url('Grid/sprite.gif');  
 text-align:left;  
 font-weight:normal;  
 font-size:11px;  
 line-height:12px;  


Cloud
Top achievements
Rank 1
 answered on 04 Feb 2010
2 answers
97 views
I've been testing Telerik controls with Visual Studio 2010 Beta 2 for a few weeks now. I had some of the issues talked about with Beta 2, but was able to use the work-arounds to get the controls to render.

Recently I had to pull the whole project down from a hosted SVN repository. Since then, the Telerik controls aren't rendering correctly. I have Intellisence on the code-behind, but I see "Error Creating Control" errors when I view the APSX page in Design mode (not that I use design mode, but I was testing work-arounds).

- I've gone through all the work-arounds again (see links for steps I've followed) and it's not fixing anything.
- I've double checked that the correct files are in the bin directory
- I've check that the reference to Telerik.Web.UI is in the project
- I've tried placing the same files in the [VisualStudioInstallDir]\Common7\IDE\PrivateAssemblies directory

The controls seems to be partially rendering, but it's like the styles aren't being applied. I'm not sure if I'm missing something else. I've made sure the DLL's are in the bin directory of the web project. I've uninstalled and reinstalled the newest demo build... nothing seems to work.

Is there anything else I should be double checking?

I've followed steps in the following posts and it's not working:
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/radcontrols-and-vs2010-beta-2-problem.aspx
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/radcontrols-design-time-and-intellisense-in-visual-studio-2010-beta2.aspx

Nicholas Westbrook
Top achievements
Rank 1
 answered on 03 Feb 2010
1 answer
109 views

 

Recentally I updated my Rad controls to this version: RadControls for ASP.NET AJAX Q3 2009 NET3.5


I drag and drop a RadAjaxManager on to the page and use the "Configure Ajax manager" API to set up the control and this is what is automaticaly generate in the source view:

 

 

<telerik:RadAjaxManager ID="ramCreateMessage" runat="server">

    <AjaxSettings>

        <telerik.web.ui.ajaxsetting ajaxcontrolid="chkPriorityMessage"><updatedcontrols>

<telerik.web.ui.ajaxupdatedcontrol controlid="chkReadReceipt"></telerik.web.ui.ajaxupdatedcontrol>

</updatedcontrols>

</telerik.web.ui.ajaxsetting>

        <telerik.web.ui.ajaxsetting ajaxcontrolid="btnSendMessage"><updatedcontrols>

<telerik.web.ui.ajaxupdatedcontrol controlid="lblRecipientError"></telerik.web.ui.ajaxupdatedcontrol>

</updatedcontrols>

</telerik.web.ui.ajaxsetting>

    </AjaxSettings>

</telerik:RadAjaxManager>

The telerik.web.ui.ajaxsetting Tag is causing this  error

 

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Telerik.Web.UI.AjaxSettingsCollection must have items of type 'Telerik.Web.UI.AjaxSetting'. 'telerik.web.ui.ajaxsetting' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'.

Source Error:

Line 111:<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
Line 112:    <AjaxSettings>
Line 113:        <telerik.web.ui.ajaxsetting ajaxcontrolid="chkPriorityMessage"><updatedcontrols>
Line 114:<telerik.web.ui.ajaxupdatedcontrol controlid="chkReadReceipt"></telerik.web.ui.ajaxupdatedcontrol>
Line 115:</updatedcontrols>

 

I can edit the client side code and correct the issue by doing this

 

<telerik:RadAjaxManager ID="ramCreateMessage" runat="server">

    <AjaxSettings>

        <telerik:AjaxSetting AjaxControlID="chkPriorityMessage">

            <UpdatedControls>

                <telerik:AjaxUpdatedControl ControlID="chkReadReceipt" />

            </UpdatedControls>

        </telerik:AjaxSetting>

        <telerik:AjaxSetting AjaxControlID="btnSendMessage">

         <UpdatedControls>

          <telerik:AjaxUpdatedControl ControlID="lblRecipientError" />

         </UpdatedControls>

        </telerik:AjaxSetting>

    </AjaxSettings>

</telerik:RadAjaxManager>

This is how the Configure Ajax manager API should be generating the code, I would like to use the Configure Ajax manager API And NOT have to always modify my code from the source. How do I fix this????? This Just happened after I updated my controls, PLEASE HELP.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ken Gunderman
Top achievements
Rank 1
 answered on 03 Feb 2010
7 answers
607 views
I have a grid that I am populating using LINQ and an anonymous type, the grid consists of 1 column with a hyperlink and can be populated by one of 2 data sources. Depending on the datasource I need to change the hyperlink and query parameters. I am trying to access the values for the parameters from the e.Item.DataItem, but being that it is an anonymous type, I'm not sure how to get at the values even though I can see them in the debugger. Anyone else come across this?
p
Top achievements
Rank 1
 answered on 03 Feb 2010
5 answers
171 views

Hello Folks!

 

I’m getting troubles creating my treeview skin for my web application.

At the end it should look like this (see image), I don’t have a clue how to work it out.

 

Exploding nodes should have an icon, those with no sons another icon.

And I should put a line separating  a node from another

I tried deriving default skin with no good result.

 

Anyone can help?

Thanks

André Freitas
Top achievements
Rank 1
 answered on 03 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?