Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
1.1K+ views
Hello,

in a radgrid I am using a GridDateTimeColumn. I am using german culture, the dateformat in the text-box of the timepicker is dd.mm.yyyy - when I select a date e.g. 31. dec. 2008 a error message like "cannot convert string to datetime" appears - when I select 12. dec. 2008 it works. I suppose that there is a problem with the german format of dd.mm.yyyy and the american format mm.dd.yyyy.

this is my code:
<telerik:GridDateTimeColumn PickerType="DatePicker" DataFormatString="{0:dd. MMM yyyy}" UniqueName="ValidTo" HeaderText="ValidTo" DataField="ValidTo" DataType="System.DateTime" /> 

It does not work also without dataformatstring....

Kind regards
Martin
plamen
Top achievements
Rank 1
 answered on 27 Jun 2008
1 answer
70 views
I build some RadTreeViews programmatically and add them
into the items of a RadPanelBar. Then when I click the items
of the RadPanelBar, there is no response. I don't know why.
I hope someone can help me. Thanks.
Paul
Telerik team
 answered on 27 Jun 2008
11 answers
243 views
Dear All,

I am new to Telerik grid.

I have created a custom template for editing the items.

When I clicked on the "Update" button the Item_Updated event is not triggered.

I referred the sample given in the live demos.

I am unable to get the items in the edit template, it is giving the old values not the edited values,  how can I get the edited values?

I also referred the below link:
http://www.telerik.com/help/aspnet-ajax/grdcustomeditforms.html


Thanks a lot in advance.

Best Regards,
M. J. Jaya Chitra.
Jebamalai
Top achievements
Rank 1
 answered on 27 Jun 2008
1 answer
160 views
I have a situation where I have a grid that includes a hyperlink column (that is created in my PageLoad if !PostBack.

It works fine to create it and use the URL format string to set the URL if the page accepts my arguments on the URL.  However, in my scenario, partly due to security issues, we really do not want to pass the parameters on the URL as an HTTP GET.  We want to do an HTTP POST.  Is there any way to setup the parameters for the post for the Grid Hyperlink column?  if it can't just be setup when I create the column and work automagically, am I able to use a hyperlink column (to get the appropriate styling behaviors) yet intercept an appropriate event to handle the  HTTP action myself?

Thanks,

-Ed
Yavor
Telerik team
 answered on 27 Jun 2008
1 answer
162 views
Hi,

I need to show the time series of 3 events' occurrences:

Event A |     xxxx              xxxxxxxx               xx
Event B |  xxx         xxx             xxxxxxx
Event C |                             xxxxxxxxx                          
                                           Date

Is this doable using Gantt chart of 3 series?
Vladimir Milev
Telerik team
 answered on 27 Jun 2008
3 answers
196 views

I have a Hierarchy grid with a custom filter control on the page as well. I need to be able to rebind the grid after I select the filter string from the custom control. ReBinding the MasterTableView works great but I cannot get the 1st and only details table to rebind.

Is there any way to use radgrid.MasterTableView.DetailTables[0].Rebind(); from say a linkbutton command routine. I've done all I know.

Thanks for your help!

Shinu
Top achievements
Rank 2
 answered on 27 Jun 2008
3 answers
200 views
When load on demand is enabled on the combo box and the combo is in a rad window, the ItemsRequested event will not fire.
It says "Loading..." but never comes back.

I have put client side event handler and the last function called is OnClientItemsRequesting.

Thanks for your help!
pat
Top achievements
Rank 1
 answered on 26 Jun 2008
4 answers
245 views
Hello,
If I have a row index #, is there a way to scroll to that index # i specify like radgrid.scrollto(index) using C#?

Thanks
Hussain
Top achievements
Rank 1
 answered on 26 Jun 2008
4 answers
317 views
Hello, I cannot for the life of me get this to work.


I have a RadTreeView that has many nodes and sub-nodes, with checkbox functionality.  When checked(or unchecked) they postback and cause events to happen.  Sometimes this event takes a while so i wanted to incorporate a loading bar of some sort, preferably my own gif using your RadControl to do so.


Any help would be greaty appreciated.. I've stared at online demos for hours and it just doesn't make much sense to me. 

If someone could point me to an example of a checkbox using treeview that has a loading bar or panel while waiting on server side code to run, that would be fantastic. Thank you.
Jeremy
Top achievements
Rank 1
 answered on 26 Jun 2008
1 answer
172 views
Hello,

I  am trying to change the css class set for  a node of treeview(from serverside) by using javascript from client side.But the node does not apply the style.

My code is as below :
 <telerik:RadTreeView ID="tvwCategory"  runat="server" AllowNodeEditing="true" OnClientNodeEdited="checkLength"
               CheckBoxes="True" EnableEmbeddedSkins="True"
               EnableTheming="False" OnClientNodeExpanding="fillChildNodes" OnClientNodeChecked="clientNodeChecked">
              </telerik:RadTreeView>

my js function on node editing is as follows:

function checkLength(sender,eventArgs)
{
    var sValueSeparator = "&";
    var sRecordSeparator ="$";
    var iTextChanged =1;
   
      
    //getting  the value       
    var sNodeValue = eventArgs.get_node().get_value();
   
    //getting the text
    var sNewText = eventArgs.get_node().get_text();
   
    //preparing the new variable
    var sKey = sNodeValue+sValueSeparator+sNewText+sRecordSeparator;
   
    //alert(document.getElementById("ctl00_mainPageContent_hidEditedText"));   
   
    //inserting text and  value to hidden field
    var sOldvalue = document.getElementById("ctl00_mainPageContent_hidEditedText").value;
   
    document.getElementById("ctl00_mainPageContent_hidEditedText").value=sOldvalue +sKey;
      
    var arrNodeValue = sNodeValue.split(";");
   
    var ichildNodesCount = eventArgs.get_node().get_nodes().get_count();
                    
   
     if(sNewText.length > 50)
     {
        alert('You have have exceeded the maimum text limit');
        eventArgs.get_node().set_text(Left(sNewText,50));
     }
    
     document.getElementById("ctl00_mainPageContent_hidUnSaved").value= iTextChanged;
            
     if( arrNodeValue[0] == 'N' && ichildNodesCount ==0 )
       { 
           var sNodeId = 'btnNodeEdit'+'_'+sNodeValue+'_'+sNewText;
           __doPostBack(sNodeId,'')
         
       }  
            
        eventArgs.get_node().set_cssClass("TableBorder");
        //eventArgs.get_node().set_text(eventArgs.get_node().get_text());
                 
 }



here eveen if i set the nodes css class it is  not getting rendered.



Pls help.

thanks and regards,
Fabin Xavier

Simon
Telerik team
 answered on 26 Jun 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?