Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
174 views
I want to have a timer on the page (inside an update panel) to just tick away every 5 seconds

When the 5 seconds is up, I'd like to postback to the server, and then when it comes back, set the focus back to the editor control

I've gone through a bunch of the examples in the Demo and help pages, but I can't seem to get it to set the darn focus back to the editor...the only way I've been able to do it is with an input button event.

Ideas?

thanks,
Steve
Svetlina Anati
Telerik team
 answered on 23 Jan 2009
1 answer
121 views
Hello

Is there any way that I can display the Ajax loading panel animation on top of my controls - means that the animation will cover my control with 50 % transparency and I can see the control behind animation.I require this because whenever animation is displayed , all the controls below it shifts down which creates quite a flicker type of effect and is definitely irritating to user.Is this possible?

Thanks
Dimo
Telerik team
 answered on 23 Jan 2009
2 answers
133 views
I'm using the RadGrid with the default skin and have 1 column frozen and are using Static Headers.  When I scroll left to right the column widths adjust unexpectedly in FireFox 3.  For example I have one column with long data (~ 200px) with wrapping off.  when I scroll left/right the column shrinks to ~ 50px causing an overlap of headers and cell content.  And toward the end of the scrolling right the columns no longer stop at the end of the grid, they stop in the middle and flicker very quickly as I scoll left or right.

In IE 7 it seems like it just plain doesn't work.  When I scroll to the right 1 column moves, but ~ 4 columns that are supposed to show up don't!
Joshua
Top achievements
Rank 1
 answered on 23 Jan 2009
3 answers
166 views
Background: Version Q3 2008, VS2005, DataSet, SQL Server.

I am using a RadGrid, which uses an ObjectDataSource, which uses a DataSet. When initially created, everything works fine during updates. However, when I set a column to ReadOnly=True (it's not the PK column btw), then during an UPDATE I get the error, "Cannot insert the value NULL into column 'columnname.'" That is, when a column is set to ReadOnly=True, a null value is submitted to the update command for that column, even though a non-NULL value was displayed in the grid.

Any clues?

Thank you.

DCollicott
Top achievements
Rank 2
 answered on 23 Jan 2009
2 answers
132 views
Is there any way that you can specify a range of dates to display within an instance of the RadCalendar?  Basically, I don't want to show an automatically calculated range of days, based on a focus date and the number of selected weeks to display.  I want a very specific date range to show in the calendar ( ie. 18 of Jan 2009 - 14 of Feb 2009 inclusive).

Thanks,
Ryan
Ryan
Top achievements
Rank 1
 answered on 23 Jan 2009
1 answer
65 views
Like all ajax controls I guess I can add a custom attribute to rad Editor like this:

RadEditor.attributes.add("AttName", "AttValue")

But I seem to be having difficuulty retrieving that value. I Tried:

Dim x as string = RadEditor.Attributes("AttName")

but I get a value of nothing.

Can someone instruct me on how to assigna  custom attribute and then retrieve with for Rad Editor?

Many thanks in advance.

John
Svetlina Anati
Telerik team
 answered on 23 Jan 2009
1 answer
164 views
Like all ajax controls I guess I can add a custom attribute to rad Editor like this:

RadEditor.attributes.add("AttName", "AttValue")

But I seem to be having difficuulty retrieving that value. I Tried:

Dim x as string = RadEditor.Attributes("AttName")

but I get a value of nothing.

Can someone instruct me on how to assigna  custom attribute and then retrieve with for Rad Editor?

Many thanks in advance.

John
Svetlina Anati
Telerik team
 answered on 23 Jan 2009
1 answer
151 views
I am using Telerik controls to build Sharepoint web parts. We built a solution to our customer using a RadTabStrip and a RadMultiPage, but they now want to see similar functionality using a dropdown list. I am attempting to use the following method to meet the customer's needs:

public override void CreateChildControls() 
{ 
                RadMultiPage multiPage = new RadMultiPage(); 
                multiPage.ID = "MasterMultiPage1"; 
 
                RadPageView newView = new RadPageView(); 
                newView.ID = "PageView1"; 
 
                RadPageView newView2 = new RadPageView(); 
                newView2.ID = "PageView2"; 
 
                multiPage.PageViews.Add(newView); 
                multiPage.PageViews.Add(newView2); 
 
                LiteralControl view1 = new LiteralControl("Page 1"); 
                LiteralControl view2 = new LiteralControl("Page 2"); 
 
                newView.Controls.Add(view1); 
                newView2.Controls.Add(view2); 
 
                RadComboBox box = new RadComboBox(); 
                RadComboBoxItem item1 = new RadComboBoxItem(); 
                RadComboBoxItem item2 = new RadComboBoxItem(); 
 
                this.Controls.Add(box); 
                this.Controls.Add(multiPage); 
 
                box.Enabled = true; 
                box.Items.Add(item1); 
                box.Items.Add(item2); 
                item1.Text = "Page 1"; 
                item2.Text = "Page 2"; 
                item1.Value = newView.ClientID.Replace('$', '_'); 
                item2.Value = newView2.ClientID.Replace('$', '_'); 
 
                box.OnClientSelectedIndexChanging = "OnSelectChanging"; 
                box.OnClientSelectedIndexChanged = "OnSelectChanged"; 
 
                string javascript = 
                @"
                    function OnSelectChanging(item, args)
                    {
                        var item = args.get_item();
                        var value = item.get_value();
                        alert('Hiding element with ID ' + value);
                        //var multiPage = document.getElementById(value);
                        //multiPage.style.visible='hidden';
                        var multiPage = $find('<%='+value+'.ClientID%>');   
                        if(multiPage.get_selected() == true)
                        {        
                            multiPage.unselect();
                            multiPage.hide();
                        }
                    }

                    function OnSelectChanged(item, args)
                    {
                        var item = args.get_item();
                        var value = item.get_value();
                        alert('Showing element with ID ' + value);
                        //var multiPage = document.getElementById(value);
                        //multiPage.style.visible='visible';
                        var multiPage = $find('<%='+value+'.ClientID%>');     
                        if(multiPage.get_selected() == false)
                        {            
                            multiPage.select();
                            multiPage.show();
                        }
                    }
                "; 
 
                this.Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "MultiPageControl",javascript, true); 
} 

When the page renders, I select a new option in the drop-down box. I see the first pop-up, and then following error: "'null' is null or not an object." The line number is the line corresponding to the call to $find().

What is the appropriate way to hook a combo box to a multi-page?
Atanas Korchev
Telerik team
 answered on 23 Jan 2009
4 answers
293 views
Hello Everyone,
I have a scenario, in this i open a tooltip with a onclick event of the button,
inside the tooltip i placed a radeditor.

The problem i faced is in IE, i can type into the radeditor, but in browsers like Mozilla and Safari i can't type into the radeditor

Can u please give solution for this
Svetlina Anati
Telerik team
 answered on 23 Jan 2009
4 answers
188 views
How can we add ----select---- option  as the first index and  put the validation controls for the remaining indexes in RadCombo ?


Thanking you in advance
Shinu
Top achievements
Rank 2
 answered on 23 Jan 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?