Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
66 views
Hi all,

I'm facing an issue with TabPanel where the controls inside the ContentTemplate are not added to .designer.cs file (using Web Application project). That means I can't reference those controls like I can for those inside templates in UpdatePanel, etc. The only way is to use .FindControl("") and assign the result to a special class field I create.

Any ideas? Thanks.
Hristo Valyavicharski
Telerik team
 answered on 19 Nov 2013
2 answers
223 views
Hi,

I am having a strange issue that I haven't met before. I am using asp.net ajax tools for years now and loving the radEditor component. I took two screenshots to show the issue. You can see them in attached files.

The thing is, I am using Bootstrap 3 for design of the site and using it's modal component to save and edit records. I have a radEditor inside the modals that have ToggleScreenMode button in the toolbar. When I click to toggle to FullScreen, editor are expands to screen size starting from the original top left corner and cannot be accessed because of the gray modal. I tried to set its position attributes thinking that it uses an absolute positioning but couldn't find a solution with that.

The question is, how can I use radEditor fullscreen function when the editor is placed inside a modal container which has a position of absolute?

Thanks...

EDIT: Reattached 2nd screenshot. Ignore the first 2.jpg please.
İlter
Top achievements
Rank 1
 answered on 19 Nov 2013
3 answers
173 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
139 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
131 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
291 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
147 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
734 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
87 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
130 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?