Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
229 views
I am using Rad Menu with default theme. I enabled rounded corners which works fine for sub-menu items. But I want the whole wrapper of all the menus also to be rounded. How can I do this using images because border-radius property doesn't work in IE 8 and earlier.
Kate
Telerik team
 answered on 02 Feb 2012
1 answer
83 views
Hello,
I simply want to update control on MaterPage. Here is the Master Page aspx code:
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</telerik:RadScriptManager>
<telerik:RadAjaxManager runat="server" ID="RadAjaxManager">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="Button1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="Panel1" />
                <telerik:AjaxUpdatedControl ControlID="Label1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
<asp:Button ID="Button1" runat="server" Text="Button" />
<h1> <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> </h1>   
<asp:Panel ID="Panel1" runat="server">
    <h1> <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label> </h1>
</asp:Panel>

And the code behind is:

protected void Page_Load(object sender, EventArgs e)
{
    this.Label1.Text = System.DateTime.Now.ToLongTimeString();
    this.Label2.Text = System.DateTime.Now.ToLongTimeString();
}
What approach should I use ?

Jayesh Goyani
Top achievements
Rank 2
 answered on 02 Feb 2012
5 answers
227 views
Hello,

I have a <select id='selectid'> element that has the "change" event bound
using $('#selectid').bind('change', select_Changed) or $('#selectid').change(select_Changed).
The event is fired correctly.

This control is client side only. It does not have a server id and is not sent through posts.

As soon as the form is decorated by the Telerik FormDecorator the bound event are
not fired anymore.

The original HTML is

<SELECT id=selectid>
    <OPTION selected>--</OPTION>
    <OPTION value=1>1. first</OPTION>
    <OPTION value=2>2. second</OPTION>
</SELECT>


The decorated HTML is :

<A style="WIDTH: 212px; cssFloat: undefined" id=Skinnedselectid class="rfdSelect rfdSelect_TheSkin" href="javascript:void(0)" unselectable="on" forSelect="selectid">
    <SPAN class=rfdSelectOuter>
        <SPAN class=rfdSelectText>--</SPAN>
    </SPAN>
</A>
<SELECT id=selectid class=rfdRealInput _rfddecoratedID="Skinnedselectid" jQuery15104498465490814524="3">
    <OPTION selected>--</OPTION>
    <OPTION value=1>1. first</OPTION>
    <OPTION value=2>2. second</OPTION>
</SELECT>

How can I get my events to be fired ?
Thanks for your help.
LevizArc
Top achievements
Rank 1
 answered on 02 Feb 2012
4 answers
204 views
I have a date field for which I want to allow the user to group on, but I want to actually sort the grouping by another field.

For instance... the field being grouped on is formatted like so "10/12/2007", etc. It is a regular date field. But when the user groups on this field, my group by expression actually uses a different field, which is a text representation as found in Outlook ("Today, Yesterday, Last Week, etc.). The problem is when the user sorts the grouping, i need to use a different field to sort on since my text representation would not end up in the correct order (it would be alphabetical instead). I need to instead override this and use the original data field to sort the groups on. Is this possible?

Thanks!
Levi
Princy
Top achievements
Rank 2
 answered on 02 Feb 2012
5 answers
170 views
Hi,

I need to known how can I check if parent node has a child.

Thanks,

Allan.
Tsvetina
Telerik team
 answered on 02 Feb 2012
4 answers
268 views

Hi sir,

 

I have used a rad combobox for listing states, I have set data source and AllowCustomText="true". When focus on the combobox then listed all items, I wants the items are listed only after enter a text in the rad combobox (drop down disabled on focus) .  eg:- if user enter ‘a’ then first letter of the sate will appear in the list.

Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 02 Feb 2012
3 answers
281 views
Now, I know by design RadDataPager is implimented to work the way it is for my scenario (described below), but I am wondering how to work around it.

I am using ASP.NET AJAX... I saw a suggestion for Silverlihgt RadDataPager to use some sort of RadDataPager.PagedSourse.PageIndexChanged or something maybe.

My Scenario:
  • I am binding a RadDataPager using the TotalRowCountRequest event.
  • I start by binding the RadDataPager (PageSize=5) to have a TotalRowCount of 10 (item count of a collection I'm keeping in ViewState).
  • User clicks to view Page #2 (which means PageIndex 1)   <-------------- so far so good
  • User deletes one of the items in my ViewState item collection.
    • Now the TotalRowCountRequest gets the updated count (which is now 9 because the User removed 1 from the original 10)
      • PageIndexChanged is now fired with a NewPageIndex of 0        <------------------ this is what I want to prevent

I understand that this is the way it's suppose to work, as it's really meant for a User to do something like going to last page, and then filtering items (since the item collection would chage Telerik assumes the RadDataPager should take the User to the first Page).

So is there a good way to do what I want and prevent TotalRowRequest from firing PageIndexChanged with a PageIndex of zero?

Thanks for your time to read and reply!
-Dan
Veli
Telerik team
 answered on 02 Feb 2012
2 answers
113 views

Have a look at http://www.iytworldwide.com/MFSchools.aspx

I edited my post because i was able to get the scroll bar to appear

However, If you go to the site and scroll left and right the performance is AWFUL.
Galin
Telerik team
 answered on 02 Feb 2012
2 answers
135 views
Hi,
    I have implemented ToolTip to display user details(in a User Control) on mouseover event of radgrid row. It;s working perfectly in IE & Chrome.., but the dynamically generated labels are not being displayed in firefox browser. 

---------------------------------------------


                Control ctrl = Page.LoadControl("~/UserControls/UserDetailsForAdminMessage.ascx");
                panel.ContentTemplateContainer.Controls.Add(ctrl);
                UserControls_UserDetailsForAdminMessage details = (UserControls_UserDetailsForAdminMessage)ctrl;
                Literal lblFName = ((Literal)(details.FindControl("lblFName")));
                Literal lblLName = ((Literal)(details.FindControl("lblLName")));
                Literal lblCity = ((Literal)(details.FindControl("lblCity")));
                Literal lblEmailId = ((Literal)(details.FindControl("lblEmailId")));


                List<usp_SelectUsersResult> lst = new TemplateDomain().SelectRetailerDetails(hdnUserName.Value, "/MenUs.Web");
                lblFName.Text = lst[0].ContactFirstName;
                lblLName.Text = lst[0].ContactLastName;
                lblEmailId.Text = lst[0].CompanyEmail;
                lblCity.Text = lst[0].City;
                this.Load += new System.EventHandler(this.Page_Load);
-----------------------------------------------------------------
Regards,
Aditya
Aditya
Top achievements
Rank 1
 answered on 02 Feb 2012
1 answer
118 views
Hi,

Would like to get some sample using RadGrid + jQuery + ValidationSummary like display. Any Help would be appreciated.
Antonio Stoilkov
Telerik team
 answered on 02 Feb 2012
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?