Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
101 views
We're developing a user control in which a rad treeview is placed inside a radcombo box.That user control is inside repeater control in  which we add that user control dynamically with add/remove functionality. But it complains when we add usercontrol second time about "Component with same id" and that points to treeview id.

I mean Every treeview behaves as if it had the same id, so if I click on one node to collapse/expand it, the result is that only the treeview's node in the first repeater item collapses or expands.
Is there a way to work out this problem?


Regards,
Amita
Amita
Top achievements
Rank 1
 asked on 20 Mar 2012
4 answers
180 views
Good day.. busy day on the forums for me. sadly.
Mastertable view has two DetailTables within it. They are nested as :
<MasterTableView>
    <DetailTable>
    </DetailTable>
    <DetailTable>
    </DetailTable>
</MasterTableView>

I need to evaluate whether or not there are records within the detailtable and if the detailtable is emplty, then hide the header. Problem is that I can't see where or how to count the records when the mastertable is expanded. I have tried to run RemoveHeaders()  within the radgrid pre_render, DetailTableDataBound, ItemDatabound and ItemDataBinding.. but none are working as expected. thank you for any assistance you can provide.
mac
code is as follows
Protected Sub RadGrid1_DetailTableDataBind(ByVal source As Object, ByVal e As Telerik.Web.UI.GridDetailTableDataBindEventArgs) Handles RadGrid1.DetailTableDataBind  
        removeheaders()  
    End Sub  
 
Sub removeheaders()  
 
        ' RadGrid1.Controls.Add(New LiteralControl(RadGrid1.MasterTableView.DetailTables.Count)) //This should return mastertable recordcount  
        ' RadGrid1.Controls.Add(New LiteralControl(RadGrid1.MasterTableView.DetailTables(0).Items.Count))//This should return Detail 1 recordcount  
        ' RadGrid1.Controls.Add(New LiteralControl(RadGrid1.MasterTableView.DetailTables(1).Items.Count))//This should return Detail 2 recordcount  
 
        For i As Integer = 0 To RadGrid1.MasterTableView.DetailTables.Count - 1 ' Count the Detail table within MasterTable  
            If RadGrid1.MasterTableView.DetailTables(i).Items.Count <= 0 Then  
                RadGrid1.MasterTableView.DetailTables(i).ShowHeader = False 
            Else  
                RadGrid1.MasterTableView.DetailTables(i).ShowHeader = True 
            End If  
 
        Next  
End Sub
 


Dan
Top achievements
Rank 1
 answered on 20 Mar 2012
0 answers
72 views
Hey,

When I create a node (via context menu) and I press Enter to save the default value : call to server don't work.
But when I create a node I modify the value before to press Enter : RadTreeView1_NodeEdit is properly called.

I hope you understand me and you can help me

Thanks

      Michel
Michel
Top achievements
Rank 1
 asked on 20 Mar 2012
4 answers
146 views
Hi
I have an ASP.NET website which works fine.
One one page I use the radchart and it's all working fine.
at the top of that working page I have ...

<%

@ Register Assembly="RadGrid.Net2" Namespace="Telerik.WebControls" TagPrefix="radG" %>

Now I create a new page and I want a radchart on it

I do this ...

 

<%

@ Register Assembly="RadChart.Net2" Namespace="Telerik.WebControls" TagPrefix="radC" %>

and i put in this code ....

 

<

 

radC:RadChart ID="RadChart1" runat="server" Width="480px" Height="290px">

 

 

 

 

 

 

 

 

 

</radC:RadChart>

and it says "Chart has no or empty series?"

but if I put in this code ....

 

<

 

radC:RadChart ID="RadChart1" runat="server" Width="480px" Height="290px">

 

 

 

 

 

 

 

<Series>

 

 

 

 

 

<radC:ChartSeries Name="1">

 

 

 

 

 

<Items>

 

 

 

 

 

<radC:ChartSeriesItem YValue="1" Name="1"></radC:ChartSeriesItem>

 

 

 

 

 

<radC:ChartSeriesItem YValue="2" Name="2"></radC:ChartSeriesItem>

 

 

 

 

 

<radC:ChartSeriesItem YValue="3" Name="3"></radC:ChartSeriesItem>

 

 

 

 

 

<radC:ChartSeriesItem YValue="4" Name="4"></radC:ChartSeriesItem>

 

 

 

 

 

<radC:ChartSeriesItem YValue="5" Name="5"></radC:ChartSeriesItem>

 

 

 

 

 

</Items>

 

 

 

 

 

</radC:ChartSeries>

 

 

 

 

 

<radC:ChartSeries Name="2" YAxisType=Secondary>

 

 

 

 

 

<Items>

 

 

 

 

 

<radC:ChartSeriesItem YValue="10" Name="1"></radC:ChartSeriesItem>

 

 

 

 

 

<radC:ChartSeriesItem YValue="20" Name="2"></radC:ChartSeriesItem>

 

 

 

 

 

<radC:ChartSeriesItem YValue="30" Name="3"></radC:ChartSeriesItem>

 

 

 

 

 

<radC:ChartSeriesItem YValue="40" Name="4"></radC:ChartSeriesItem>

 

 

 

 

 

<radC:ChartSeriesItem YValue="50" Name="5"></radC:ChartSeriesItem>

 

 

 

 

 

</Items>

 

 

 

 

 

</radC:ChartSeries>

 

 

</Series>

 

 

 

</radC:RadChart>

It says 
Error 1 Unknown server tag 'radC:ChartSeries'. 

thanks
p

 

Giuseppe
Telerik team
 answered on 20 Mar 2012
6 answers
177 views
Hello,

Is it possible programmatically shows the Fileexplorer sorted by filename?

Thank you

Dobromir
Telerik team
 answered on 20 Mar 2012
6 answers
150 views
Is there a setting through which the radeditor does not change the content at all??

if my user enter's
<test>
</test>
i want it to remain so and not change to
<test />

This happen's on postback (of the other button's which are there on the page) as well as on save button click. i am new to radeditor, could you please help me out?

Rumen
Telerik team
 answered on 20 Mar 2012
2 answers
109 views
Hi,

I have a RadDock that has a user control inside it. The control is embedded in a RadAjaxPanel. The rough structure is something like this

<telerik:RadDock id="xxxxx"..........................>
<ContentTemplate>
     <telerik:RadAjaxPanel id="xxxx"......................>
         <Usercontrol:Mycontrol   Id="xxx" runat="server" onButtonClick="Button_Click"............ />
     </telerik:RadAjaxPanel>
 </contentTemplate>
</telerik:RadDock>


Whenver the Button_Click event is fired, I want the RadDock title to be updated.
Is there a way we could achieve this ?

Phil
Top achievements
Rank 2
 answered on 20 Mar 2012
1 answer
65 views
Hi Team,

In your site describe OnClientSelectionChange - fired when the selection within the editor content area has changed

In my case, ONClientSelection change event fired , even the drop down is selected from the tool bar.
I need to fire the event only the editor content area is selceted.

Could you suggest me, which event is used.

Thanks
Uma
Rumen
Telerik team
 answered on 20 Mar 2012
1 answer
65 views
Hi,

all Demos on AJAX Q1 2012 Website crash when we use it behind a Content Firewall.
Some of the example runs once. Then all Samples are brocken. Only Solution at Client site is to delete Browser Cache.
After i set Telerik.com to white List it runs fine.
But when we will provide a Software based on AJAX Tools to a customer i can´t Control which content Firewall they use.

Do you have Informatuions about Problems with this?

Thanks
Rumen
Telerik team
 answered on 20 Mar 2012
4 answers
222 views
I have a requirement to wants me to disable the switching "&" into "&amp" (happens when I go to HTML mode from design mode)

Scenario:
I would like to use RADEditor to add jQuery pl see attached radeditor.png
(when RadEditor1.EditModes = Telerik.Web.UI.EditModes.Html)

When switching from designmode to HTML, mode & becomes &amp;
(may also apply to "£ converted to &pound")

Check the post(link below)
http://www.telerik.com/support/kb/aspnet-ajax/editor/converting-unicode-symbols-to-numeric-html-entities-using-a-content-filter.aspx

And I tried with Built-in Content Filters.
http://demos.telerik.com/aspnet-ajax/editor/examples/builtincontentfilters/defaultcs.aspx
But does not stop from converting & to &amp (also £ to &pound)

pl see the attached files contentfilter1.png and contentfilter2.png

Also tried adding code as well as specified in http://www.telerik.com/support/kb/aspnet-ajax/editor/converting-unicode-symbols-to-numeric-html-entities-using-a-content-filter.aspx

pl can someone help
A code example to download would be better.

thanks
ami
Rumen
Telerik team
 answered on 20 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?