Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
114 views
2 quick questions;
1. How do I turn off the display of the url string that appears in the bottom left part of the RadWindow frame?
2. How do I change the "look" of a window? Say I wanted to make the frame look like wood, is that possible?

Thanks,

joe B
Shinu
Top achievements
Rank 2
 answered on 30 Jun 2009
4 answers
108 views
Regarding this example http://demos.telerik.com/aspnet-ajax/controls/examples/integration/raduploadinajaxifiedgrid/defaultcs.aspx?product=upload

Where is the code for the showimagecs.aspx page which handles displaying the image?
Genady Sergeev
Telerik team
 answered on 30 Jun 2009
3 answers
122 views

The styler does not encompass other components of the RadGrid, such as DateTime, Dropdown list, Pager dropdown list...

Can that be integrated to this or is all that stuff supposed to be separate pieces ?

It makes sense to me it should all go together.

1.  Otherwise "the grid breaks"
2.  Have to go hunting for more pieces to style and fix
3.  Annoying...
Alex Gyoshev
Telerik team
 answered on 30 Jun 2009
3 answers
133 views
I'm using the RadComboBox control to do sorting on a grid I'm using.

The RadComboBox I'm using is set like so:
<telerik:RadComboBox ID="ddlSortBy" runat="server" OnClientSelectedIndexChanged="OrderSearch" 
                        CssClass="ddlSortBy" OnClientLoad="SortByLoad"
                        <Items> 
                            <telerik:RadComboBoxItem Text="Displayed Randomly" Value="1" /> 
                            <telerik:RadComboBoxItem Text="By Nightly Rate Ascending" Value="2" /> 
                            <telerik:RadComboBoxItem Text="By Nightly Rate Descending" Value="3" /> 
                            <telerik:RadComboBoxItem Text="By Weekly Rate Ascending" Value="4" /> 
                            <telerik:RadComboBoxItem Text="By Weekly Rate Descending" Value="5" /> 
                        </Items> 
                    </telerik:RadComboBox> 
The problem I'm experiencing is setting the selected sort order when the page loads, since I pass in the url.

What I mean, is that I can't write this:
ddlSortBy.FindItemByValue("[query]").Selected = true
When I write that nothing gets selected, it still remains with the first item selected.

Is it not possible to select a specific item of the RadComboBox in MVC through code or should I be doing it another way. I've tried using javascript, but I handle the "OnClientSelectedIndexChanged" event of the control and when I select the item in javascript that event is raised causing the page to postback.

If you could suggest a solution to a problem that would be great.

Thanks.


Atanas Korchev
Telerik team
 answered on 30 Jun 2009
6 answers
248 views
Hi

I have just installed the latest trial (2007_2_918). I get a lot more controls on my toolbar under Prometheus including RadAjaxManager and RadAjaxPanel. Are these now in Promethius or have you included the ASP.Net RadControls in here?

My main problem is with RegisterArrayDeclaration. I use this to provide 2 arrays client side for use with the slider.

Before trying Ajax I used Page.ClientScriptManager.

When I moved to Ajax and used the Ajax UpdatePanel I had to use ScriptManager. All worked fine.

Now I am replacing the UpdatePanel with RadAjaxPanel.

The first time I perform an Ajax update my arrays work fine. If I change a parameter and re-submit my query, my arrays still contain the old values.

I use:

ScriptManager.GetCurrent(this).RegisterDispose(ScaleImageTop, "PremiumArray = undefined; SumAssuredArray = undefined;");


To clear the arrays.

Are ScriptManager and RadAjaxPanel compatible? Any idea why my arrays have stopped updating when I switched from UpdatePanel to RadAjaxpanel?

Cheers

Steve

Sebastian
Telerik team
 answered on 30 Jun 2009
4 answers
209 views
Using  slider in a radgrid is perfect for a particular issue.  I have it all working except one thing.

I have placed a radslider in the header of my radgrid and am attempting to use it as a "select all" for the radsliders in the rows of the  associated column.  OnClientValueChange I am iterating thru the griddataitems and trying to use findcontrol to get a refrence to the slider and set the value.

I keep coming back with null.

Am I approaching this wrong or does this control not render in a fashion that allows me to do this?
Here is my javascript function:

function SelectDate(sender, eventArgs)
{

 var grid = $find("rgLoad").get_masterTableView();
 var griditems =grid.get_dataItems();
 
  for (var i=0; i<griditems.length; i++)        
        {    
         var slider = griditems[i].findControl("rslider");
         if(!slider==null)
            slider.set_value(sender.get_value());
        }


}

Let me know if I need to provide more info.

Sebastian
Telerik team
 answered on 30 Jun 2009
5 answers
150 views
Hello,

I'm a currently facing a critical issue with the Rad Calendars:

Everytime I select a date from the calendar's drop down, this date's month value is incremented. For example:
If I select the 4th of May,2009 (5/4/2009) , the selected date in the calendar's textbox would be the 4th of June 2009 (6/4/2009)
I'm using IE6 and IE7 , and Microsoft Visual Studio 2005.

Any Ideas?
Sebastian
Telerik team
 answered on 30 Jun 2009
6 answers
125 views
Hello,

First an foremost, let me tell you have done an excellent job with this product, is robust, portable and very well architected, im glad to be using them.

Second, I haven't been able to position my loading indicator correctly, it always appear in the top and the EnableSkinTransparency is not working.

Im doing the whole job as a server control (no aspx) it is also executed in the OnInit() of the webpart

Thanks for your support



#region

 

Ajax initialization

 

Page.ClientScript.RegisterStartupScript(

typeof(ReferralsListWebPart1), this.ID, "_spOriginalFormAction = document.forms[0].action;_spSuppressFormOnSubmitWrapper=true;", true);

 

 

if (this.Page.Form != null)

 

{

 

string formOnSubmitAtt = this.Page.Form.Attributes["onsubmit"];

 

 

if (!string.IsNullOrEmpty(formOnSubmitAtt) && formOnSubmitAtt == "return _spFormOnSubmitWrapper();")

 

{

 

this.Page.Form.Attributes["onsubmit"] = "_spFormOnSubmitWrapper();";

 

}

}

 

RadAjaxPanel panel = new RadAjaxPanel();

 

panel.ID =

"RadAjaxPanel1";

 

 

this.Controls.Add(panel);

 

 

RadAjaxManager ajaxManager = RadAjaxManager.GetCurrent(this.Page);

 

 

if (ajaxManager == null)

 

{

ajaxManager =

new RadAjaxManager();

 

ajaxManager.ID =

"RadAjaxManager1";

 

Controls.Add(ajaxManager);

 

this.Page.Items.Add(typeof(RadAjaxManager), ajaxManager);

 

}

 

 

 

RadAjaxLoadingPanel loadingPanel = new RadAjaxLoadingPanel();

 

loadingPanel.ID =

"AjaxLoadingPanel1";

 

loadingPanel.Width =

Unit.Percentage(100);

 

loadingPanel.Height =

Unit.Pixel(400);

 

loadingPanel.Transparency = 25;

loadingPanel.EnableSkinTransparency =

true;

 

 

AjaxLoadingPanelBackgroundPosition position = new AjaxLoadingPanelBackgroundPosition();

 

position =

AjaxLoadingPanelBackgroundPosition.Center;

 

loadingPanel.BackgroundPosition = position;

 

Image image = new Image();

 

image.ID =

"loadingImage";

 

image.AlternateText =

"Loading...";

 

image.ImageUrl =

"/_layouts/images/loading.gif";

 

loadingPanel.Controls.Add(image);

 

this.Controls.Add(loadingPanel);

 

panel.LoadingPanelID =

"AjaxLoadingPanel1";

 

 

#endregion

Sebastian
Telerik team
 answered on 30 Jun 2009
9 answers
430 views
Hi ,
I set the default button for my search button to trigger when user do the search and hit enter like this
 <asp:Panel id="pnlbtnSearch" runat="server" defaultButton="btnSearch"
                <table id="FilterControls" border="0" cellspacing="2"  style="margin-top: 20px"
                    <tr style="margin-left: 25px;padding-bottom:15px"
                        <td  class="labels" align="left" valign="top" style="padding-right:15px"
                         
                            <asp:label id="lblService" enableviewstate="False"  runat="server"  
                                text="Service:"></asp:label> 
                        </td> 
                        <td  align="left" valign="top" colspan="2" > 
                             <asp:textbox id="uxService" runat="server" width="195px"></asp:textbox> 
                        </td> 
                    </tr> 
                     
                     
                    <tr> 
                        <td style="height:30px" >  
                        </td> 
                        <td  style="text-align:left" ><a><asp:LinkButton ID="btnSearch" runat="server" Text="Search" CssClass="searchBtn" ToolTip="Search" 
                                OnClick="uxSubmit_Click" Style="float: right;"></asp:LinkButton></a</td> 
                        <td style="text-align:right"  > 
                        <a> 
                            <asp:LinkButton ID="uxReset" runat="server" Text="Reset" ToolTip="Reset" CssClass="cancelBtn" 
                                OnClick="uxReset_Click" Style="float: right;"></asp:LinkButton></a
                                                 
                                 
                             
                        </td> 
                    </tr> 
                </table></asp:Panel> 
but hitting enter trigger the delete button on my radGrid.here is how delete button binded on my grid.
<telerik:GridButtonColumn ConfirmText="Warning! This will remove this service and any services underneath." 
                        ConfirmDialogType="RadWindow" ConfirmTitle="Delete" ButtonType="ImageButton" 
                        CommandName="Delete" Text="Delete" ImageUrl="~/Admin/ServiceFinder/images/Delete.gif" 
                        UniqueName="DeleteColumn"
                        <HeaderStyle Width="40px" /> 
                        <ItemStyle Width="40px" /> 
                    </telerik:GridButtonColumn> 
 Any ideas why this is happening? or any other way how I can handle to set  default button for hhe user to hit enter to trigger the search button?

Thanks,
Yoni
Sebastian
Telerik team
 answered on 30 Jun 2009
7 answers
195 views
Hello there, Telerik!

Glad to see something like this come along.  It was inevitable, especially given a certain other UI framework that Microsoft is getting -- perhaps uncomfortably -- close to by adopting their core library.

Anyway, my requirements for components we purchase are probably a little different than the majority of your clients.  We need nearly everything we put into the guild sites people create from our site to be dynamically styled, based upon settings the user makes in their control panel (if you're interested in where we're going with the controls you already offer, go make a site, click Control Panel, and look at the link under the "In Beta" accordion section).  

So, that being said, I was a little excited to see the words Telerik, Visual, Style, and Builder all together!  My question is: what are your plans for the tool?  If they are to keep it on your site as a way for people to generate skins, download a ZIP, and extract it to their site, then it will be a fantastic tool for intranet and public-facing sites that don't require personalization at the user level.

But jQuery UI does that with their tools, and it's free.

Might I suggest the following?  Please forgive me if they're already in your plans:

  1. Release it as an ASP.Net control.  Keep the requirement for Silverlight if you absolutely must, but release it so we can use it to let our users customize their sites, which, incidentally, would feature far more of your controls if skinning/styling could be handed over to the user more easily.
  2. Provide access to the output in a non-ZIP format.  .GetCss() would be the bare minimum, but it would be much better if we could have strongly-typed access to the elements they've set vaues for, and the values they've set for those elements.  That way, we can run it through some logical processing (say, if the user's on a mobile device) instead of parsing text.  Helps even more for persisting the preferences in our database, too.
  3. (see 2): If you do it the OO way, of course, the same settings could be applied to XAML for silverlight versions of the controls.
  4. Whack the whole Hue/Saturation thing and get back to color pickers.  Did you guys lock the human interactions guy in the closet while you did that?  ;)  

It would be great if this tool could grow to further establish Telerik amongst ASP.Net developers, who are looking around at alternative, free frameworks.  So far, yours does almost what the jQuery UI Theme Builder does, with Silverlight (and I'm not sure requiring Silverlight is considered a feature to end-users just yet -- certainly to bored developers!).  

One last thing.  I went through the Style Builder with the Mac.  Do you folks there plan on testing with the Mac?  If not, I'd be glad to list the current problems.  But if you already know about them, I'll save my fingers for coding.  =)

Oh and, one final note: if you can't release the source for this but you are willing to release it as a control, please, for the love of all that is holy, allow us to specify custom UI objects and what types of styling (text, background, etc.) can be applied to them.  Then take those objects and runtime and dynamically include them and return the user-selected results to the developer.  Sounds complicated -- probably better going the source route.  =D
Alex Gyoshev
Telerik team
 answered on 30 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?