Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
155 views
Hi,

   I have the following script
       

function DateSelectedFirstPref(sender, args) {         

                 if (!isTimeSelected) {

                     var val = "08:00:00";

                     var dateString = sender._dateInput._initialValue;

                     var month = dateString.split("/")[0];

                     var day = dateString.split("/")[1];

                     var yearTime = dateString.split("/")[2];

                     var year = yearTime.split(" ")[0];            

                      sender.set_selectedDate(new Date(year, month, day, val.split(":")[0], val.split(":")[1], val.split(":")[2], 0));                      

                

                 }

            }


When i select a date from datetime picker, it is not showing any date and time,the raddatetime picker's textbox is empty.
Please help me on this issue.
Maria Ilieva
Telerik team
 answered on 28 Jul 2011
3 answers
277 views
Hi all,
I've read some threads, the RadControlsAjaxCourseware.pdf and check the demos but did not find what I need: I have a master page (vb.net 2010 4.0) with content pages and user controls. In one of the user controls I have a RadGrid. There I added RadAjaxLoadingPanel (using v2010.3.1109.40). This works quite well, but it only blocks the grid so the user is able to use the other controls on the page. How could I set RadAjaxLoadingPanel to block the whole page? It's not necessary to Ajax-enable the whole Masterpage.
Thanks!
Kai
Top achievements
Rank 2
 answered on 28 Jul 2011
11 answers
476 views
Hi,

Is it possible to move the footer to the top of the grid ?
At the moment, users are having to scroll down to the bottom of the grid to see footers. It would be better if the footer row was at the top of the grid.

Thanks
Mark
Jean-Yves
Top achievements
Rank 1
 answered on 28 Jul 2011
1 answer
119 views
I have a situation where I am using a RadWindow to open up a form that allows adding/removing items from a datasource. When the window closes I would like to refresh the list (built from that datasource that the window allows the user to edit) which is the databound source for a combobox. I can fire a javascript method when the window closes, but I can't seem to get code to work that will refresh the combobox.
Shinu
Top achievements
Rank 2
 answered on 28 Jul 2011
3 answers
146 views
We installed the RadEditor lite on WSS 3.0 following the instructions on this site. No problems occurred. I see the two features on a site and activating the features goes OK too. Unfortunately when I'm using editing a page in a wiki site I do'nt get the RadEditor but only the standard editor. No error messages what so ever but no RadEditor either. Any suggestions on how to find out what is happening?

We are using Windows Server 2003 standard edition SP 1
Stanimir
Telerik team
 answered on 28 Jul 2011
1 answer
101 views

 

 

The findControl method is not able to find controls when called inside of the event handler for the OnGridCreated event as follows. This will cause an error because findControl() returns null. Shouldn't the controls be loaded at this point? Note that I am able to find controls in the row selected/deselected event handlers.

 

function gridCreated(sender, args)
{
    for (var i = 0; i <= sender.get_selectedItems().length - 1; i++)
    {
        sender.get_selectedItems()[i].findControl("rntbMinDistance").enable();
    }
}

Princy
Top achievements
Rank 2
 answered on 28 Jul 2011
6 answers
209 views
Hi

I need your help in this. I want to draw a pie chart with solid coloros. But i am getting gradient. My code is this.

 protected void Page_Load(object sender, EventArgs e)
    {
        ChartSeries chartSeries = new ChartSeries();
        chartSeries.Name = "Fleat Composit";
        chartSeries.Type = ChartSeriesType.Pie;
        chartSeries.AddItem(60, "B", System.Drawing.Color.White);
        chartSeries.AddItem(300, "A", System.Drawing.Color.Red);
        RadChart1.Appearance.FillStyle.FillType = FillType.Solid;
        RadChart1.Series.Add(chartSeries);
}

Regards
Atul Srivastav
Saravanan
Top achievements
Rank 1
 answered on 28 Jul 2011
1 answer
139 views
Hi,

I have a grid which contains people records. If the user expands one person then another nested grid is displayed which has several rows and for each row about 40 columns. Each column has a combo box. When a combo box is opened it displays a third grid. This 3rd grid is bound on the prerender method of the combo in which it resides.

The problem is that once I expand a few people several things happen, all of them bad:
1. The page size grows to over 20MB because the combos bind their grids and each grid is quite big.
2. The IIS process grows to over 1GB of RAM used and stays there even if I close the browser.
3. IExplore grows to about 600MB used. 

My biggest problem now is the size of the page, because evidently everything is moving very slow and eventually crashes. What can I do so that each grid is displayed only when the combobox opens?

I tried:
  • load on demand and it just doesn't get to ItemsRequested. 
  • I also tried to share a combo between all cells in the second grid, but it's too problematic because you never know where to open the popup. And if you manage to calculate based on offsets it just opens in the wrong direction. 
  • I also tried having the third grid load separately once and once each radcombobox opens I copy the innerhtml of the element in the dropdown. That worked, but I have no way of accessing the controls in the third grid because the dom doesn't get updated when I copy the innerhtml. 
  • Also tried binding the third grid via ajax request, but how would I know which radcombobox sent the request since I only have a string parameter to differenciate between them?

I appreciate any other suggestions.

Thanks!
Johny
Top achievements
Rank 1
 answered on 28 Jul 2011
1 answer
58 views
I would like for my grid to use "User Control Edit Form" for editing an item, but use "PopUp Edit Form" for adding an item.
Is this possible?
Shinu
Top achievements
Rank 2
 answered on 28 Jul 2011
1 answer
106 views
Good day

In the process of reviewing the ajax controls.

I have not had an extensive review of the Calendar control just yet but by looking at the examples this does not seem possible and I would most likely go down the custom control route?

My requirement is to display first letter of a month over three years horizontally. Highlighting the month in the year if data is present for that month. See attached sample of requirement.

Am I right to think this is not possible with the Calendar control?

Thanks

Pavel
Telerik team
 answered on 28 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?