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

I am using an Ajax-enabled RadCalendar.  The calendar is using SpecialDays to identify event dates on the calendar, and I am dynamically assigning the special days based on values I pull from my database when the control loads. All of this works as expected, and I see the desired css-decoration of the event dates.  However, I also give my user the option of changing his location via a drop-down.  When the user chooses a new location, the SelectedIndexChanged event is fired, and the database is re-queried for a new list of event dates. 

I am trying to use this new list of event dates to re-build the SpecialDays list.  And, in fact, I am able to clear the current SpecialDays list, and populate it with the new dates.  However, I can’t get the new SpecialDays to display without refreshing the entire page.   How do I code this control so that the new SpecialDays list will display without doing a refresh?

I am new to posting in your forums, so I am not sure what additional information you may need.  Let me know if you need any additional information.

Thanks in advance!

Pavlina
Telerik team
 answered on 28 Jul 2011
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
286 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
480 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
122 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
153 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
103 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
212 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
142 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
60 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?