Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
138 views
Hi ,

I have use 2 radgrid in a webpage ...
if I scroll the web page down and click on the Page size dropdown , then drop down list not appears with respective position...
Can you please help me sort out this problem...
Viktor Tachev
Telerik team
 answered on 19 Nov 2013
2 answers
102 views
Hi,

I am using radEditor with ToolBarMode="ShowOnFocus" attribute. I decided to show only the buttons for text editing in textbox mode, and want to offer full functionality when toggled to full screen. How can I implement this? Should I use server side code for this, or client side API will be enough?

Thanks...
İlter
Top achievements
Rank 1
 answered on 19 Nov 2013
1 answer
90 views
Im confused as how this should work. I've setup a schedule and now want to add a dropdownlist to both the advanceinsert and inlineinsert. Everything works fine in the advanced form but I cant get the inilneform to work. Not sure how to get it going. I've looked at every demo as well as every forum post and cant seem to figure it out.

Any help would be great.

<InlineInsertTemplate>
    <div>
        <asp:DropDownList ID="ddlOrganizations" runat="server" Width="238px"></asp:DropDownList>
        <br />
        <telerik:RadTextBox ID="rtbSubject" runat="server" TextMode="MultiLine" Columns="35" EmptyMessage="Title" Text='<%# Bind("Subject") %>'></telerik:RadTextBox>
        <br />
        <asp:LinkButton ID="InsertButton" runat="server" CommandName="Insert">
            Submit
        </asp:LinkButton>
        <asp:LinkButton ID="InsertMoreButton" runat="server" CommandName="More">
            Advanced
        </asp:LinkButton>
          
        <asp:LinkButton ID="CancelButton" runat="server" CommandName="Cancel">
            Cancel
        </asp:LinkButton>
    </div>
</InlineInsertTemplate>
protected void Page_Load(object sender, EventArgs e)
{
    if (!IsPostBack)
    {
        SetupResources();
    }
}
 
 
private void SetupResources()
{
    ResourceType resType = new ResourceType();
    resType.ForeignKeyField = "OrganizationID";
    resType.DataSource = Organizations.OrganizationList(false);
    resType.KeyField = "OrganizationID";
    resType.Name = "Organization";
    resType.TextField = "OrganizationName";
    rsProjectSchedule.ResourceTypes.Add(resType);
}

protected void rsProjectSchedule_FormCreated(object sender, SchedulerFormCreatedEventArgs e)
{
    if (e.Container.Mode == SchedulerFormMode.Insert)
    {
        DropDownList ddl = (DropDownList)e.Container.FindControl("ddlOrganizations");
        ddl.DataSource = Organizations.OrganizationList(false);
        ddl.DataTextField = "OrganizationName";
        ddl.DataValueField = "OrganizationID";
        ddl.DataBind();
    }
}


Boyan Dimitrov
Telerik team
 answered on 19 Nov 2013
2 answers
244 views
Hello,

I have a RadGrid that contains two cell's, one a gridboundcolumn and the other is an itemtemplate ( Check Box ). When the checkbox is unChecked (CheckBoxChanged) I need to clear the contents of the GridBounfColumn, but am not having much luck. 

How can I update the GridBoundColumn cell's value on the OnCheckChanged event?

Thanks,

SteveO
JSON
Top achievements
Rank 1
 answered on 19 Nov 2013
8 answers
107 views
I'm facing a very singular behaviour in my RadGrid.
I have some GridCheckBoxColumn(s) that I mangled in code behind (ASP.NET 4.5 WebForms) to show nome nicer labels in "view" mode and revert back to checkbox in edit mode.
The code is:
Protected Sub RadGrid1_ItemDataBound(sender As Object, e As GridItemEventArgs) Handles RadGrid1.ItemDataBound
    ' Display booleans with text labels when grid is not in editing mode
    If TypeOf e.Item Is GridDataItem AndAlso Not e.Item.IsInEditMode Then
        Dim item As GridDataItem = DirectCast(e.Item, GridDataItem)
 
        Dim verifiedCheck As Boolean = DirectCast(item("IsVerified").Controls(0), CheckBox).Checked
        Dim activeCheck As Boolean = DirectCast(item("IsActive").Controls(0), CheckBox).Checked
        Dim approvedCheck As Boolean = DirectCast(item("IsApproved").Controls(0), CheckBox).Checked
        Dim lockedCheck As Boolean = DirectCast(item("IsLockedOut").Controls(0), CheckBox).Checked
 
        If verifiedCheck Then
            item("IsVerified").Text = "<span class=""label label-success autowidth"">Ok</span>"
        Else
            item("IsVerified").Text = "<span class=""label label-warning autowidth"">No</span>"
        End If
 
        If activeCheck Then
            item("IsActive").Text = "<span class=""label label-success autowidth"">Ok</span>"
        Else
            item("IsActive").Text = "<span class=""label label-important autowidth"">No</span>"
        End If
 
        If approvedCheck Then
            item("IsApproved").Text = "<span class=""label label-success autowidth"">Ok</span>"
        Else
            item("IsApproved").Text = "<span class=""label label-warning autowidth"">No</span>"
        End If
 
        If lockedCheck Then
            item("IsLockedOut").Text = "<span class=""label label-warning autowidth"">Ok</span>"
        Else
            item("IsLockedOut").Text = "<span class=""label label-success autowidth"">No</span>"
        End If
    End If
End Sub

It works beautifully as you can see in the following screenshot:
Screenshot 1

Now the problem arise when I click on the little arrow to expand a row and show the content of my NestedViewTemplate. For some reason I come up with empty checkboxes all over the page, as documented in this second screenshot:
Screenshot 2

Thanks in advance as always.
Massimiliano
Top achievements
Rank 1
 answered on 19 Nov 2013
5 answers
613 views
I would like to hide a GridCommandItem button during the grid loading process if a field in the Grid is null. I don't know which event would be best to accomplish this in. Thanks for any help.
Daniel
Telerik team
 answered on 19 Nov 2013
1 answer
68 views
Hi

I am using Telerik Web UI version 2009.3.1503.20

The RadComboBox fails to retain the input text in IE9 when moved focus to other controls in the page, however it works fine in IE7, IE8, firefox and chrome,  including the compatability mode of IE9

I have already tried the options mentioned in the following article with no luck. Please help!

http://www.telerik.com/community/forums/aspnet-ajax/combobox/patch-ms-update-kb2586448-breaks-radcombobox-markfirstmatch-in-versions-older-than-2009-3-1314-inclusive.aspx

Thanks
Siva
Kate
Telerik team
 answered on 19 Nov 2013
4 answers
98 views
Hi,

My number one wish, for the controls would be to reduce the overall payload of the controls.

I was thinking that it may be easy to split up telerik core into a few different scripts - that are included only if you need them.  I had a quick look, and there is some code that appears to be relating to web services that wouldn't be needed all the time.

Also, some of the functions seem to be similar to functions contained in jQuery. Since jQuery is pretty "mandatory", could these functions be refactored to use JQuery instead of the telerik.core, reducing the script further.

For the general controls - again, it would be great if the scripts could be broken down further into functional parts.  Either compiling-on-the-fly only what bits you need, or having a "pre-compile" system when you deploy your project.

And - maybe some "lazy loading" of script parts.

At the moment, i am employing all the script combining / script compression / caching i can, but for some of my projects where bandwidth is an issue, i am not able to use my favorite set of controls.  Half the world is still on dialup.  Google - who are known for the light interface - is still spending loads of time and money reducing the bytes its sends to people.

A small script payload would really put you ahead of other asp.net ajax vendors, and give you a unique selling feature. 

I could start to try and "split-up" the code for different projects myself, but would no doubt encounter problems / hurdles when new, improved versions of the products are released.

It would be fantastic if you could work towards this.

Thanks,



Richard

Genady Sergeev
Telerik team
 answered on 19 Nov 2013
4 answers
71 views
Hi,

if there is only one item in the LightBox then how would I hide the Previous and Next buttons?
Can this be automated?

Marc
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 19 Nov 2013
1 answer
99 views
Hi
 I have a skin manager in the master page.
How do  I set different skin for different control type?
for example, setting all RadButton and RadComboBox to WebBlue and all RadGrid to default?

Thanks for help!

Guorui
Maria Ilieva
Telerik team
 answered on 19 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?