Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
169 views
I am using your RadTreeview to show my categories in parent child mode with code as

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><br><telerik:RadTreeView ID="RadTreeView1"<br>                                    runat="server" TriStateCheckBoxes="true" CheckBoxes="true" CheckChildNodes="false"><br>                                    <Nodes><br>                                    <telerik:RadTreeNode Text="hello" Value="hello"></telerik:RadTreeNode><br>                                    <telerik:RadTreeNode Text="hello1" Value="hello1" Selected="true" Checked="true"><br>                                    <Nodes><br>                                    <telerik:RadTreeNode Text="hello11" Value="hello11"></telerik:RadTreeNode><br>                                    <telerik:RadTreeNode Text="hello12" Value="hello12"></telerik:RadTreeNode><br>                                    <telerik:RadTreeNode Text="hello13" Value="hello13"></telerik:RadTreeNode><br>                                    </Nodes><br>                                    </telerik:RadTreeNode><br>                                    <telerik:RadTreeNode Text="hello2" Value="hello2"></telerik:RadTreeNode><br>                                    <telerik:RadTreeNode Text="hello3" Value="hello3"></telerik:RadTreeNode><br>                                    </Nodes><br>                                </telerik:RadTreeView>


in code behind:
i also checked but its not working

RadTreeView1.ClearCheckedNodes();<br>RadTreeNode trnode = RadTreeView1.GetAllNodes().Where(tn => tn.Text=="hello1").FirstOrDefault();<br>                trnode.Selected = true;<br>               // trnode.Checkable = true;<br>                trnode.Checked = true;


i want to check only parent while binding the data

can anyone please help to tell me if i am doing something wrong, it is not possible or some kind of bug
Princy
Top achievements
Rank 2
 answered on 09 May 2012
6 answers
499 views
if i upload 2 file, and add second file and fileName is same i delete it using
     sender.deleteFileInputAt(sender.getUploadedFiles().length);


It look like delete, but it didn't really delete..

    RadAsyncUpload1.UploadedFiles.Count , it still get 2
Shinu
Top achievements
Rank 2
 answered on 09 May 2012
0 answers
224 views
Hi,
I have node in TreeView, when User gives Node Text, I'm finding that particular node and expanding its path,
Now, I have a Issue I need to fire the event which is occurs OnNodeClick at server side.
Please help me.

Regards
Phaneendra  
Phaneendra
Top achievements
Rank 1
 asked on 09 May 2012
1 answer
222 views
I'm trying to implement the code at the bottom of this page as a test and I'm not sure what dll's I need to reference?

http://demos.telerik.com/aspnet-ajax/chart/examples/skinning/misc/defaultcs.aspx 
Richard
Top achievements
Rank 1
 answered on 08 May 2012
1 answer
152 views
I have used both Telerik.WebControls.RadGrid and Telerik.Web.UI.RadGrid.

Telerik.WebControls.RadGrid has skin property as Windows (skin="Windows") and Telerik.Web.UI.RadGrid has skin property as Outlook (skin="Outlook").

Now I need the same styles for Telerik.Web.UI.RadGrid as like the Telerik.WebControls.RadGrid.

I have tried this by changing the skin as "Windows" name and EnableEmbeddedSkins="false" for Telerik.Web.UI.RadGrid. It applies some of its style as "Windows" but not similar as Telerik.WebControls.RadGrid.

Can anyone help me.
Richard
Top achievements
Rank 1
 answered on 08 May 2012
4 answers
281 views
Hello team,

Sorry for my flurry of questions.

I'm binding a table having the columns A, B, C, D, E, F, G, H to the radscheduler and setting A, B, C, D as the DataKeyField, DataSubjectField, DataStartField, DataEndField.

My questions -

1. Now i want the tooltip to show the values from the columns E, F and G. How to do that?

2. What does Appointment.DataItem really return? Can i get the values of E, F and G from Appointment.DataItem? (I always get it as null)

Thank you once again.
NLV
InfySam
Top achievements
Rank 1
 answered on 08 May 2012
5 answers
185 views
Hi,

I would like to use the RadScheduler with an ASMX webservice for fetching appointment data. This works, but i would like to send some attributes along with the request so the SchedulerProvider can use this as a filter. Otherwise i have to get fetch a lot of data from my data layer.

I have tried to use the SchedulerProvider directly setting the property ProviderName on the RadScheduler and removed the webservice settings. When i add an attribute to the RadScheduler object, it is accessible in the SchedulerProvider. This way of passing filter values works, but not when is use the webservice.

Is it possible to send custom attributes along with the webservice call?
Plamen
Telerik team
 answered on 08 May 2012
2 answers
100 views
Hi,

I'm trying to get my panel content to inherit the CSS class of the DIV that surrounds the panel. We change the font and make the text a dark grey - but all the items inside the RanPanel are using this:

.RadPanelBar_Transparent a.rpLink, .RadPanelBar_Transparent div.rpHeaderTemplate, .RadPanelBar_Transparent .rpTemplate {
  1. colorblack;
  2.   fontnormal 12px/24px Tahoma,Arial,sans-serif;
}

so they don't match the rest of the page.

If I use Chrome's 'Inspect Element' screen to disable those two properties, everything appears as I want it to.


Is there an easy way to stop that rpTemplate from overriding the styling of items inside my panel item's <ContentTemplate> so it will properly match the rest of the page? I've tried setting a dummy CssClass  class on the Panel and Item that just inherits from it's parent container, but the rpTemplate is applied AFTER those.


Here's what my panel looks like:

<div id="page-formview-content">
    <div id="mainBody">
        <div style="float: left; width: 100%; padding-bottom: 4px; padding-top: 8px">
            <telerik:RadPanelBar ID="RadPanelBar1" runat="server" Width="100%" >
                <Items>
                <telerik:RadPanelItem Text="Test Panel 1" Expanded="true">
                <ContentTemplate>
                    <asp:Label ID="Label1" runat="server" Text="HIDE AND SHOW!">
                    </asp:Label>
                </ContentTemplate>
                </telerik:RadPanelItem>
                </Items>
            </telerik:RadPanelBar>
        </div>
    </div>
</div>


I want the label text to use the same styling as the rest of the items on the page. The text color is set in the CSS for the <body> tag of the master page, so reusing the CSS on the label itself isn't really an option. I'd prefer to just disable the rpTemplate styling somehow, or override it with inherit-only styles.


Thanks,
-Adam
Adam
Top achievements
Rank 1
 answered on 08 May 2012
1 answer
68 views
How to show different user controls on edit and insert operation?
Princy
Top achievements
Rank 2
 answered on 08 May 2012
3 answers
142 views
Hi,

Another issue found by our 508 team for radgrid table with pagination. When user tab through it, after the tab of the last column header of radgrid, it should goes to the 1st checkbox inside the radgrid table ( 1st row of the radgrid data table has checkbox), but instead, it come to the 1st link of pagination portion. The tab order is incorrect.

Is there any way to address it?

Thanks,
Wei
Princy
Top achievements
Rank 2
 answered on 08 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?