Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
473 views
Hi, 

I need some help with a radDatePicker, I can´t set min date to 01/01/1800. I've tried with these properties but nothing I get the error :"No se puede crear un objeto de tipo 'System.DateTime' a partir de su representación de cadena '01/01/1800 12:00:00 a.m.' para la propiedad 'MinDate'."

<telerik:RadDatePicker ID="dtpDesde" runat="server" SkipMinMaxDateValidationOnServer="True" MinDate="01/01/1800 12:00:00 a.m." Calendar-FocusedDate="01/01/1800 12:00:00 a.m." Calendar-RangeMinDate="01/01/1800 12:00:00 a.m." Calendar-RangeSelectionStartDate="01/01/1800 12:00:00 a.m." DateInput-MinDate="01/01/1800 12:00:00 a.m." FocusedDate="01/01/1800 12:00:00 a.m.">


If I only try with the property  "SkipMinMaxDateValidationOnServer="True"" , the control validation in the browser show me an error and  the control clear the date.

Could you please advise me  right way to allow dates under the default min value.

Thanks..

In RadDatePicker

If  not able to select the date less than the 1980, 

Vasil
Telerik team
 answered on 28 Apr 2016
34 answers
965 views
Is there any easy way to save the expanded nodes so that when directed away from  the page and coming back, you still have the same nodes expanded as when you left?  I am using a sql database to populate the treeview and all methods i have tried i have been having problems with serialization because it is using SQL im assuming thats why.  I tried to store the expansion states in a session variable and had no luck.  So is there any really easy way to accomplish this?  Any help would be greatly appreciated.  Thanks!
Hristo Valyavicharski
Telerik team
 answered on 28 Apr 2016
6 answers
280 views
Hi,

I need a way to find out whether i have clicked the Cancel button inside the RadProgressArea control. I need to invoke a custom functionality in the
OnClientProgressUpdating() event whenever cancel button is clicked.  I would like to know how this can be achieved. Code Snippets are given.

<telerik:RadProgressArea ID="RadProgressArea1" runat="server" DisplayCancelButton="true" ToolTip="workign" OnClientProgressUpdating="clientProgressUpdating" />                               

 function clientProgressUpdating( progressArea, eventArgs)
  {
             // Identify if cancel button is clicked.
            {
            // Perform my own custom functionality
             }
   }

Thanks,
Divya
David
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 28 Apr 2016
6 answers
275 views
Hey Guys,

We're just porting over to IIS7 from 6 and having problems with our postbacks.  Client fires but no server-side response just reloads the page - not even the click handler executes its code. Seems intermittent, but the following error is common:

[NullReferenceException: Object reference not set to an instance of an object.]
   System.Object.GetType() +0
   Telerik.Web.UI.RadCompression.Compress(HttpApplication application) +820
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +171

Now when I remove RadCompression entries from web.config it all springs back to life, with no problems.

So I'm doing something wrong with IIS7.  I have the Registration code in both System.Web\HttpModules and system.webserver\modules.

Any ideas?
thanks
Viktor Tachev
Telerik team
 answered on 28 Apr 2016
5 answers
1.3K+ views
Hi,

 

in my radgrid i have three template columns, first column textbox, second dropdown list, third datecontrol

 

 

when i click on export to excel, i need to export the data in Template columns to excel

 

data

in bound columns are getting exported to excel, problem is only with template columns

 

can

any one help me how to achieve this

Thank you in advance

 

Kostadin
Telerik team
 answered on 28 Apr 2016
3 answers
118 views

Hi Team,

We are using Telerik 2016 Q1 SP1 Radgrid in our application. And after this latest upgrade, we have noticed this weird behavior of the Client-side data bound Radgrid in our page. When we try to reorder a GridButtonColumn and increase the page size of the grid, the data does not refresh as expected with the correct page size, but remains the same, for instance if the page size was 10 and after reordering, if we set page size to 20, still we see only 10 records, however page size and the records returned from the database are 20. Additionally, this does not happen if we reorder any other column other than GridButtonColumn.

And we already have set the property, even then it does not work.

ClientSettings.ReorderColumnsOnClient = true;
ClientSettings.ColumnsReorderMethod = Reorder

Can someone please let us know fix for this?

Any help is greatly appreciated!

 

Thanks in advance,

Lax

Maria Ilieva
Telerik team
 answered on 28 Apr 2016
1 answer
154 views

Hello, I have a RadListview where all the items are always in edit mode and I have a button outside the list that should save all the changes made on each of the items, the problem is that when I click on the button all the ddata typed on the controls in the lis view is lost so I always get empty values.

    protected void Button1_Click(object sender, EventArgs e)
    {        
        foreach (RadListViewEditableItem item in rlv_Opportunities.EditItems)
        {
            System.Collections.Hashtable newValues = new System.Collections.Hashtable();
            item.ExtractValues(newValues);
            string id = item.GetDataKeyValue("lequip_id").ToString();

            RadTextBox rtbSO = (RadTextBox)item.FindControl("rtb_SO");

            string strT = rtbSO.Text;        
        }

}

Konstantin Dikov
Telerik team
 answered on 28 Apr 2016
1 answer
147 views
Hi everyone, I am trying to use the Lightweight render mode in UI for ASP.NET AJAX here with Custom Skin generated using the Telerik ThemeBuilder but it just won't work. Maybe I am missing some settings so I attached here the sample project I made (please note that I excluded in the zip file the Telerik dlls since it adds to the size of attachment). I assigned the rendering mode, skin and use of embedded skins under the web.config for ease of changing it since assigning for each controls is hassle. I have already tried using RadFormDecorator using the settings I used in the web.config but found no luck.
Vessy
Telerik team
 answered on 28 Apr 2016
1 answer
102 views
Hi everyone, I am trying to use the Lightweight render mode in UI for ASP.NET AJAX here with Custom Skin generated using the Telerik ThemeBuilder and include all the CSS to the page but it just won't work. I assigned the rendering mode, skin and use of embedded skins under the web.config for ease of changing it since assigning for each controls is hassle. I have already tried using RadFormDecorator using the settings I used in the web.config but found no luck.
Vessy
Telerik team
 answered on 28 Apr 2016
7 answers
594 views
I have recently tried updating my website to use the latest version of RadControls

When I loaded a form which had been created using the previous installed version I got the message

"The server tag 'telerik:RadAjaxLoadingPanel' is ambiguous. Please modify the associated registration that is causing ambiguity and pick a new tag prefix."

I therefore decided to uninstall the new version of the controls and added the old dlls to my bin folder instead

I still got the message even though I had uninstalled the controls.

What can I do to get rid of this message?
Marin Bratanov
Telerik team
 answered on 28 Apr 2016
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?