Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
144 views
Hy, i have:
Page.aspx--> UC_.ascx --> UC_TelerikEditor.ascx
UC_Editor.ascx:
<asp:MultiView ID="MLVeditor" runat="server" ActiveViewIndex="0">
    <asp:View ID="VIWnone" runat="server">
     
    </asp:View>
    <asp:View ID="VIWtextareaEditor" runat="server">
        <CTRL:TextareaEditor id="CTRLtextarea" runat="server"></CTRL:TextareaEditor>
    </asp:View>
    <asp:View ID="VIWliteEditor" runat="server">
        <CTRL:LiteEditor id="CTRLliteEditor" runat="server"></CTRL:LiteEditor>
    </asp:View>
    <asp:View ID="VIWtelerikEditor" runat="server">
        <CTRL:TelerikEditor id="CTRLtelerikEditor" runat="server"></CTRL:TelerikEditor>
    </asp:View>
</asp:MultiView>

UC_TelerikEditor.ascx:
<telerik:radeditor ID="RDEtelerik" runat="server" Visible="true" Width="800px" Height="200px">
 
</telerik:radeditor>

And result is:
<div id="ctl00_CPHservice_CTRLeditorQ_CTRLtelerikEditor_RDEtelerik" style="height:200px;width:800px;">
	<!-- 2013.1.403.35 -->
</div>

UC_Editor display specific view for desired editor... if i wrote:

<asp:MultiView ID="MLVeditor" runat="server" ActiveViewIndex="0">
    <asp:View ID="VIWnone" runat="server">
     
    </asp:View>
    <asp:View ID="VIWtextareaEditor" runat="server">
        <CTRL:TextareaEditor id="CTRLtextarea" runat="server"></CTRL:TextareaEditor>
    </asp:View>
    <asp:View ID="VIWliteEditor" runat="server">
        <CTRL:LiteEditor id="CTRLliteEditor" runat="server"></CTRL:LiteEditor>
    </asp:View>
    <asp:View ID="VIWtinyEditor" runat="server">
         <CTRL:TinyEditor id="CTRLtinyEditor" runat="server"></CTRL:TinyEditor>
    </asp:View>
    <asp:View ID="VIWtelerikEditor" runat="server">
            <telerik:radeditor ID="Radeditor1" runat="server" Visible="true" Width="800px" Height="450">
    </telerik:radeditor>
    </asp:View>
</asp:MultiView>

i can see editor render... any idea ??
Rumen
Telerik team
 answered on 15 Apr 2013
1 answer
65 views
Very disappointed to see the Simple Skin being retired.  We need more basic, "non busy" skins.  The newer skins (like Glow and Silk) have their place but the sizing throws off most designs not built around them.  The simple skin provided a clean, basic option that fits in most designs (even more than the Default skin) and w/o it I fear for an increased need for custom skins (which are complicated by my need to use CDNs for all style sheets.)

I was hoping for more options around simple skins - not the loss of the only one out there.  I realize its likely too late to save "Simple" - but please consider the need for "business-like" skins in the future.
(Metro is close - but is tied to a specific color scheme - and lacks in contrast in some important areas - like Grid header items.)

Thanks,
Bill
Ivan Zhekov
Telerik team
 answered on 15 Apr 2013
12 answers
803 views
Hi ,

 I have a telerikgrid inside that i have a
  <telerik:GridDropDownColumn  DropDownControlType="RadComboBox" HeaderText="Expiration Units" DataField="qual_req_units"
                                SortExpression="qual_req_units" />

OnItemDataBound and when it is in the edit mode i bind the combobox with the values.

OnItemCreated i tried to display the value from that is stored in the db. 
 GridDataItem item = (GridDataItem)e.Item;
 DataRowView drv = (DataRowView)e.Item.DataItem;
 item["qual_req_units"].Text = drv.Row["qual_req_units"].ToString();

Still it doesn't show any value in the view mode. In edit mode it shows the radcombo box's correctly. But even when select and update it doesn't show any value.

Please let me know what i need to do to display the value in the view mode.


Thanks,
Nirmala Kalakonda
Kenneth
Top achievements
Rank 1
 answered on 15 Apr 2013
1 answer
96 views
Is it possible to make the ImageManager Viewpath an absolute url from another website?
Vessy
Telerik team
 answered on 15 Apr 2013
5 answers
289 views

Hi Telerik,

 

We have problem with RadGrid localization. Our web page (which contains the RadGrid) is localized by local resources using the functionality „Generate Local Resource“. Applying such function adds the meta information into the RadGrid. Thus, here is the problem. The RadGrid doesn’t work correctly with those meta information. So, when the AJAX is used the RadGrid doesn’t load the data, or more exactly in other words:  the “NeedDataSource” event is not fired and therefore the RadGridData_NeedDataSource handler is not called.

 

Here is the code snippet of our implementation:

 

 

        protected void Page_Load(object sender, EventArgs e)

        {

             RadAjaxManager.GetCurrent(this.Page).AjaxSettings.AddAjaxSetting(RadGridData, RadGridData, RadAjaxLoadingPanel);

 

            if (IsPostBack == false)

                   RadGridData.Rebind();

         }

 

        protected void RadGridData_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)

        {

            DataTable  dataTable = GetObjectData();

            RadGridData.DataSource = dataTable;

        }

If the meta information are deleted, the RadGrid works normally again. The other telerik controls are localized as well, and they’re working normally. If we keep at least one meta information at some place, the problem appears again. 

We found an example of using Global resources for telerik controls localization on your websites. We’ve tried it, however it didn’t make desired effect. We’ve copied the file RadGrid.Main. sk-SK.resx into the App_GlobalResources folder. Although the entire page is localized, the RadGrid is not. In addition, these settings is not working although the property (Culture = "sk-SK") is set directly.

 

Is there any way to perform mentioned localization using the  ‘local resources‘ approach?

Thank you very much for your advice.

 

Kind regards,

SCT

Pavlina
Telerik team
 answered on 15 Apr 2013
3 answers
155 views
A client wants a grid where only some of the rows can be dragged around and re-ordered.  Is it possible to present the drag bar only on some rows in the table but not others?  If so, can you point me towards the area of the documentation for this?  Thank you.
Jayesh Goyani
Top achievements
Rank 2
 answered on 15 Apr 2013
1 answer
117 views
I have several custom dialogs attached to toolbar buttons which do various things like insert links. Frequently (not always), when I call pasteHtml(), the content gets inserted at the top of the editor, rather than at the cursor position.

I understand that this is due to the editor losing focus, and therefore forgetting the cursor position. You can sort-of reproduce this in the demo editor. Place the cursor in the middle of the content somewhere, then click on a blank area of the toolbar, so that the editor loses focus. Then click the add link button and see that the link gets inserted at the top.(I know this is artificial, but I think it a useful demonstration of what happens.)

I am trying to figure out how to either prevent the loss of focus, or write some code which remembers the cursor position so that I can restore it before calling pasteHtml().

I tried calling editor.getSelection().getRange() after the button click, but the focus seems to already be lost, and the range object seems to refer to the top of the editor content. I also tried calling getRange() in OnClientSelectionChange, and also in a 'blur' event I attached to the content area. I have tried to set unselectable="on" in various places. None of these things helped.

I see that this behaves reliably in your built-in dialogs. So I wonder what I am doing wrong. (My custom dialogs are iframes contained in jQuery UI dialogs, which I don't think is too different in principle from your built-in dialogs.)
Marin Bratanov
Telerik team
 answered on 15 Apr 2013
4 answers
204 views
I use RadAsyncUpload to process multiple files upload online. I want to make an uploading queue with certain length.

Tow questions:

Q1: How to count the concurrent uploading users, exclude those who browse this page without uploading.

Q2: If the count meets max-queue-length, is it possible to make the RadAsyncUpload waiting until the count < max-queue-length, after the files selection on the client.

I've searched the forum, but found nothing concerning my question. Is there any suggestion?
Hristo Valyavicharski
Telerik team
 answered on 15 Apr 2013
1 answer
81 views
Hi

I want to customize my shorting icon in Radgrid. Any one can help me in this.

Regards,
Nithya
Shinu
Top achievements
Rank 2
 answered on 15 Apr 2013
7 answers
104 views
Hi,

1) How can I apply custom css style for SPRadgrid for Sharepoint 2010?
2) How can I hide the option of showing up SPRadGrid Designer for the SPRadGrid webpart when the user (with viewer permissions) clicks on the dropdown which is at the upper right corner? (see image for understanding)
Tsvetoslav
Telerik team
 answered on 15 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?