Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
119 views

Sorry but I changed the content of this post, so please ignore the title. I can't modify it.


I use a DataTable for an input data to draw a line chart.
And there are some empty values.
I successed to draw with empty values, but the lines that go through empty values are shown as dotted lines.

I just want to show solid connected line between non-empty values.


For example,

Y = { 10, 12, empty, 15, empty 16, 20, empty }


I just want to show a solid line that connects through 10 - 12 --- 15 --- 16 -20.

How can I change the line type to solid when the source data has some empty values?


I have tried,

series.Appearance.EmptyValue.Line.Color = Color.Transparent;
or
series.Appearance.EmptyValue.Line.PenStyle = System.Drawing.Drawing2D.DashStyle.Solid;


But both of them shows no line between non-empty values.                   

Thank you.

Alex.
Vladimir Milev
Telerik team
 answered on 26 Apr 2010
1 answer
107 views
hi

how cn i diseabled radtabstrip and datagrid when my ajaxmanager onrequeststart fired?

     function OnRequestStart(sender, args)
     {
             var Bck = document.getElementById("<%= btnBck.ClientID %>");
         var Frwd = document.getElementById("<%= btnFrwd.ClientID %>");
         var tab = document.getElementById("<%= rtsInsertPratica.ClientID %>");
         var p = document.getElementById("<%= grdProd.ClientID %>");
         var i = document.getElementById("<%= grdInsoluti.ClientID %>");
                
         Bck.disabled = true;
         Frwd.disabled = true;        
         tab.disabled = true;
         p.disabled = true;
         i.disabled = true;       
     }
       

the code above doesnt work on firefox and if i click the tabstrip my routine(which is running) goes in error..

thanks

Iana Tsolova
Telerik team
 answered on 26 Apr 2010
1 answer
99 views
I'm getting the following error on SOME rows. I have a repeater and when I click on a link a RadWindow opens with data from the querystring. The page in the RadWindow has a Radgrid. On some rows in the repeater (not all) I get the following error from the RadWindow page from the RadGrid - Both DataSource and DataSourceID are defined on 'rgResults'.  Remove one definition.

I only have one datasource and its in code behind.

This is my grid Markup..
     <telerik:RadGrid   
        ID="rgResults"   
        runat="server"   
        AllowSorting="false" 
        AutoGenerateColumns="False"   
        GridLines="None" EnableEmbeddedSkins="false" Skin="MAU">  
              
        <HeaderContextMenu EnableAutoScroll="True" EnableEmbeddedSkins="False"></HeaderContextMenu> 
       
        <MasterTableView DataKeyNames="PatientID">  
                    <Columns> 
                        REMOVED  
                    </Columns> 
        </MasterTableView> 
 
    </telerik:RadGrid> 

And this is how I bind the data:-
            Dim objWebService As New Search.QueryWebService  
            Dim XMLNodeObject As XmlNode = objWebService.Search(p1, p2, p3, p4)  
 
            Dim xmlDoc As New XmlDocument()  
            xmlDoc.AppendChild(xmlDoc.ImportNode(XMLNodeObject, True))  
 
            Dim ds As New DataSet  
            ds.ReadXml(New StringReader(xmlDoc.OuterXml))  
 
            rgResults.DataSource = ds 
            rgResults.DataBind() 

What is going on?

ANdy
Andy Green
Top achievements
Rank 1
 answered on 26 Apr 2010
1 answer
158 views
Hi,

Im trying to make a radgrid work with edit mode in a webpart for MOSS 2007.
All the events fire as they should BUT I cant get the edited values in the event.

The controls property on the edit cells has a count = 0.
It works fine when I use the control in a normal aspx page.

The code is:

 

protected void radGrid_ItemCommand(object source, GridCommandEventArgs e)

 

{

 

switch (e.CommandName)

 

{

 

 

case

 

"Update":

 

{

 

GridEditFormItem gridInsert = (GridEditFormItem)e.Item;

 

 

string pNavn = ((TextBox)(gridInsert["Navn"].Controls[0])).Text;

 

...


The .Controls[0] throw an "index out of range" because the cell holds no controls. The gridInsert["Navn"] does exist.

Please help.

 

Sebastian
Telerik team
 answered on 26 Apr 2010
2 answers
157 views
Hello,

I am using RadWindow to open a popup window from external page.

The thing is, there is a close button on that page that does : window.close().

Is there a way to change default window.close to close radwindow ?

Roland
Top achievements
Rank 1
 answered on 26 Apr 2010
1 answer
525 views
Hi,
     In my rad grid control i have a Date column .In that i want a between filter..like the filter should filter the date colum between two specified date , is there any option to apply Between filter on DateTime column.How can i achive this.

Thanks and Regards,

Dheeraj
Sebastian
Telerik team
 answered on 26 Apr 2010
6 answers
195 views
I'm using two RadMenus on the same page (RadMenu1 and RadMenu2). For both RadMenus I created a StyleSheet (Skin):

Menu.CustomPrimary.css
Menu.CustomSecondary.css

I created two different controls:

<telerik:RadMenu ID="RadMenu1" runat="server" Skin="CustomPrimary" EnableEmbeddedBaseStylesheet="true" EnableEmbeddedSkins="false"></telerik:RadMenu> 

and

<telerik:RadMenu ID="RadMenu2" runat="server" Skin="CustomSecondary" EnableEmbeddedBaseStylesheet="true" EnableEmbeddedSkins="false"></telerik:RadMenu> 

Both StyleSheets are the same! The first RadMenu (RadMenu1) is perfect. Nothing wrong with it! The second RadMenu (RadMenu2) goes wrong. The SubItems are not completely styled (for example, they don't have the right style on hover).

What am I doing wrong?

Thanks!
Jochem Bökkers
Top achievements
Rank 2
 answered on 26 Apr 2010
1 answer
187 views
Hi there,

I just managed to implement custom sorting on the radGrid, which works just fine.

But now I came to this problem:

I offer different links to fill that grid with data. Whenever I change the data displayed the sorting should be disabled. What is quite easy, 'cause I do the sort programmaticly. The only problem is: When the user sorted a column before, that column is still highlighted.

So to make it simple:

I am searching for a way to reset all Sorting-Related-Information (which Column is sorted, what direction it is sorted) if a radGrid. Shouldn't be that hard to do, I just cannot find it.
Ole Albers
Top achievements
Rank 2
 answered on 26 Apr 2010
2 answers
455 views
Hi
I am creating RadTextBox and RadComboBoc controls dynamically from information stored in a database.
Can you please expalin how I can wire up a client side event as each control is created. I am mainly using the OnValueChanged and OnClientSelectedIndexChanged events, respectively.
Could I have answered this myself from the online help?
Regards
Harry Kable
Harry Kable
Top achievements
Rank 1
 answered on 26 Apr 2010
1 answer
117 views
Hello every one,

As per given in telerik rad grid demos of Self referencing hierarchy I have used that concept in my application.

My Question is if I enable header context menu and change visibility of columns of master table it is not reflecting that in detail table or child grid. Is it possible to do that. Since we have same columns in both master and detail table this feature is required.
Is it possible at all to control by one single master tables header context menu to control child grids columns even if it does  post back
Yavor
Telerik team
 answered on 26 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?