Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
52 views

Hi,

RadColorPicker is hidden when I use in the RadPanelBar. I am checking this in the IE9 Brower. Please find the sample code here.

 <form id="form1" runat="server">
      <telerik:RadScriptManager runat="server" ID="uxRadScriptManager" />
     <telerik:RadPanelBar Width="100%" runat="server" ID="RadPanelBar2" ExpandMode="SingleExpandedItem" >
    <Items>
        <telerik:RadPanelItem runat="server" Text="Testing" Expanded="true" Font-Bold="true">
            <ContentTemplate>
                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
                        <tr>
                            <td style="width: 30%">
                                <asp:Label ID="Label1" runat="server" >&nbsp;Test1</asp:Label></td>
                            <td align="left">
                                <telerik:RadColorPicker runat="server" ID="one" PaletteModes="WebPalette" ShowIcon="True"
                                    KeepInScreenBounds="true">
                                </telerik:RadColorPicker>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 30%">
                                <asp:Label ID="Label2" runat="server" >&nbsp;Test2</asp:Label></td>
                            <td align="left">
                                <telerik:RadColorPicker runat="server" ID="two" PaletteModes="WebPalette" ShowIcon="True"
                                    KeepInScreenBounds="true">
                                </telerik:RadColorPicker>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 30%">
                                <asp:Label ID="Label3" runat="server" >&nbsp;Test3</asp:Label></td>
                            <td align="left">
                                <telerik:RadColorPicker runat="server" ID="three" PaletteModes="WebPalette" ShowIcon="True"
                                    KeepInScreenBounds="true">
                                </telerik:RadColorPicker>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 30%">
                                <asp:Label ID="Label4" runat="server">&nbsp;Test4</asp:Label></td>
                            <td align="left">
                                <telerik:RadColorPicker runat="server" ID="four" PaletteModes="WebPalette" ShowIcon="True"
                                    KeepInScreenBounds="true">
                                </telerik:RadColorPicker>
                            </td>
                        </tr>
                    </table>
            </ContentTemplate>
        </telerik:RadPanelItem>
    </Items>
</telerik:RadPanelBar>
    </form>

And find the view which I am seeing it. And the telerik version which I am using is 2015.2.623.45

Could you please advise on this.

Thanks

SB
Top achievements
Rank 1
 answered on 25 Sep 2015
1 answer
44 views

Hi,
RadColorPicker is hidden when I use in the RadPanelBar. I am checking this in the IE9 Brower. Please find the sample code here.

 <form id="form1" runat="server">
      <telerik:RadScriptManager runat="server" ID="uxRadScriptManager" />
     <telerik:RadPanelBar Width="100%" runat="server" ID="RadPanelBar2" ExpandMode="SingleExpandedItem" >
    <Items>
        <telerik:RadPanelItem runat="server" Text="Testing" Expanded="true" Font-Bold="true">
            <ContentTemplate>
                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
                        <tr>
                            <td style="width: 30%">
                                <asp:Label ID="Label1" runat="server" >&nbsp;Test1</asp:Label></td>
                            <td align="left">
                                <telerik:RadColorPicker runat="server" ID="one" PaletteModes="WebPalette" ShowIcon="True"
                                    KeepInScreenBounds="true">
                                </telerik:RadColorPicker>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 30%">
                                <asp:Label ID="Label2" runat="server" >&nbsp;Test2</asp:Label></td>
                            <td align="left">
                                <telerik:RadColorPicker runat="server" ID="two" PaletteModes="WebPalette" ShowIcon="True"
                                    KeepInScreenBounds="true">
                                </telerik:RadColorPicker>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 30%">
                                <asp:Label ID="Label3" runat="server" >&nbsp;Test3</asp:Label></td>
                            <td align="left">
                                <telerik:RadColorPicker runat="server" ID="three" PaletteModes="WebPalette" ShowIcon="True"
                                    KeepInScreenBounds="true">
                                </telerik:RadColorPicker>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 30%">
                                <asp:Label ID="Label4" runat="server">&nbsp;Test4</asp:Label></td>
                            <td align="left">
                                <telerik:RadColorPicker runat="server" ID="four" PaletteModes="WebPalette" ShowIcon="True"
                                    KeepInScreenBounds="true">
                                </telerik:RadColorPicker>
                            </td>
                        </tr>
                    </table>
            </ContentTemplate>
        </telerik:RadPanelItem>
    </Items>
</telerik:RadPanelBar>
    </form>

And find the view which I am seeing it. And the telerik version which I am using is 2015.2.623.45
Could you please advise on this.
Thanks

SB
Top achievements
Rank 1
 answered on 25 Sep 2015
1 answer
48 views

Hi,
RadColorPicker is hidden when I use in the RadPanelBar. I am checking this in the IE9 Brower. Please find the sample code here.

 <form id="form1" runat="server">
      <telerik:RadScriptManager runat="server" ID="uxRadScriptManager" />
     <telerik:RadPanelBar Width="100%" runat="server" ID="RadPanelBar2" ExpandMode="SingleExpandedItem" >
    <Items>
        <telerik:RadPanelItem runat="server" Text="Testing" Expanded="true" Font-Bold="true">
            <ContentTemplate>
                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
                        <tr>
                            <td style="width: 30%">
                                <asp:Label ID="Label1" runat="server" >&nbsp;Test1</asp:Label></td>
                            <td align="left">
                                <telerik:RadColorPicker runat="server" ID="one" PaletteModes="WebPalette" ShowIcon="True"
                                    KeepInScreenBounds="true">
                                </telerik:RadColorPicker>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 30%">
                                <asp:Label ID="Label2" runat="server" >&nbsp;Test2</asp:Label></td>
                            <td align="left">
                                <telerik:RadColorPicker runat="server" ID="two" PaletteModes="WebPalette" ShowIcon="True"
                                    KeepInScreenBounds="true">
                                </telerik:RadColorPicker>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 30%">
                                <asp:Label ID="Label3" runat="server" >&nbsp;Test3</asp:Label></td>
                            <td align="left">
                                <telerik:RadColorPicker runat="server" ID="three" PaletteModes="WebPalette" ShowIcon="True"
                                    KeepInScreenBounds="true">
                                </telerik:RadColorPicker>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 30%">
                                <asp:Label ID="Label4" runat="server">&nbsp;Test4</asp:Label></td>
                            <td align="left">
                                <telerik:RadColorPicker runat="server" ID="four" PaletteModes="WebPalette" ShowIcon="True"
                                    KeepInScreenBounds="true">
                                </telerik:RadColorPicker>
                            </td>
                        </tr>
                    </table>
            </ContentTemplate>
        </telerik:RadPanelItem>
    </Items>
</telerik:RadPanelBar>
    </form>
And find the view which I am seeing it. And the telerik version which I am using is 2015.2.623.45
Could you please advise on this.
Thanks

SB
Top achievements
Rank 1
 answered on 25 Sep 2015
1 answer
114 views

Having an issue with an editor. Fairly certain it is not control version related, as it is working fine in a radwindow. 

 Editor (shortened it)

 

<telerik:RadEditor  ID="txtEditorBody" runat="server" Height="400px" Width="700px"   ContentAreaMode="Iframe" OnClientCommandExecuting="customTokens">
       <Tools>
           <telerik:EditorToolGroup Tag="MainToolbar">
               <telerik:EditorTool Name="AjaxSpellCheck" Visible="true" Enabled="true" />
               <telerik:EditorSeparator />
           </telerik:EditorToolGroup>
           <telerik:EditorToolGroup Tag="Formatting">
               <telerik:EditorTool Name="Bold" />
               <telerik:EditorSeparator />
               <telerik:EditorSplitButton Name="ForeColor">
               </telerik:EditorSplitButton>
               <telerik:EditorSeparator />
               <telerik:EditorDropDown Name="FontName">
               </telerik:EditorDropDown>
               <telerik:EditorDropDown Name="FontSize">
               </telerik:EditorDropDown>
           </telerik:EditorToolGroup>
           <telerik:EditorToolGroup>
               <telerik:EditorDropDown Name="Info" Width="50" Text="Info">
                   <telerik:EditorDropDownItem Name="First Name" Value=" %firstname% " />
               </telerik:EditorDropDown>
           </telerik:EditorToolGroup>
       </Tools>
       <Content>
       </Content>
       <TrackChangesSettings CanAcceptTrackChanges="False"></TrackChangesSettings>
   </telerik:RadEditor>

 

 Javascript:

 

function customTokens(editor, args) {
    var name = args.get_name();
    var val = args.get_value();
    if (name == "Info") {
        editor.pasteHtml(val);
        args.set_cancel(true);
    };
};

 

It seems that when the page loads, the cursor is not visible in the editor. If you type in it, it then becomes visible. When you ensure the cursor is in the editor, and then click the custom drop down, the cursor leaves the editor. After you click the drop down item, nothing happens, and the cursor does not return to the window. Interestingly if you hi-light some text and then click the drop down item, it just removes the hilighted text instead of inserting the value. 

Running a simple alert(name); and alert(val); shows that JS is pulling the correct info to insert, so the issue appears to be with editor.pastHtml()

Even trying something simple like OnLoad and then attempting pasteHtml("Test") does not work.

 

​

Joana
Telerik team
 answered on 25 Sep 2015
3 answers
118 views

Hi Team,

I am facing some issues with the RadListBox with CheckBoxes for IE7 browser mode or 1024 x 768 windows resolution mode. I have implemented the RadListBox with checkBoxes as list items. It works fine under some circumstances like in IE8 mode or Windows standerd resolutions mode(i,e checkBoxes will get selected at first click). But my client is using the IE7 browser mode where the check boxes are not getting selected at first attempt. I have added some Javascript code for OnClientItemChecked or OnClientItemChecking event, but its not firing the debug event for the 1st instance. 

Can you please help me, if i am missing anything to add or any other properties i need to set.  your quick response is much appriciated.

Thanks in Advance,

Raghavendra

Peter Filipov
Telerik team
 answered on 25 Sep 2015
4 answers
314 views
Hello

I am new in the community of Telerik

I want to get the string to select the date

example of test:

in frm.aspx

<telerik:RadDatePicker ID="RadDatePicker1" runat="server"></telerik:RadDatePicker>​

in frm.aspx.vb

 Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        'here code!!
        Dim x As String
        x = RadDatePicker1.xxxxxx
        MsgBox(x)
    End Sub Dim x As String
      

how Get String of DatePicker??

sorry my english

 

 

Nagiza
Top achievements
Rank 1
 answered on 25 Sep 2015
10 answers
107 views
Since we've upgraded to Telerik version Q3 2013, our site always asks to enable access to the Apple QT plugin (on IE browsers where it is disabled). We have the identical site on our production server with the previous Telerik version, and that doesn't do it.

It seems to stem from the inclusion of a load of browser capabilities tests that are in the script resources now - such as

l.addTest(

"QuickTimePlayer",function(){if(Q.ActiveXObject){return R("QuickTime.QuickTime")||R("QuickTimeCheckObject.QuickTimeCheck");

}

else{return S("QuickTime Plug-in");

<edit>
I've just tracked those lines down to core.js, Quicktime and a bunch of other browser capabilities tests are in there now. They weren't present in the Q2 2013 version.

Ivan Zhekov
Telerik team
 answered on 25 Sep 2015
1 answer
90 views

Hi Support!

I am evaluating RadPivotGrid, and I have one question about it: I am using RadPivotGrid1_NeedDataSource(), and the code is:

                  System.Data.DataTable mDataTable = ReturnDataTable();
                    (sender as RadPivotGrid).DataSource = mDataTable;

And I would like to move all fields that will be show in "All Fields Area"  to "Filter Area" in server side code. Is it possible? How to do it?

 

Thanks!

 

Angel Petrov
Telerik team
 answered on 25 Sep 2015
1 answer
449 views

Greetings, if I want to augment the functionality of one of the Telerik javascript "classes", is there a proper way to override a function such that my change will be applied after the initial Telerik js declarations/file references, but before the $create() function calls which use the classes that are being modified?

For instance, I'd like to tweak the "initialize" function in the WebServiceRenderingManager class. So at some point after WebServiceRenderingManager is declared by the Telerik js script I want to update the prototype for it: 

$(function () {
    var $tsr = Telerik.Web.UI.Scheduler.Rendering;
    var $wsrm = $TSR.WebServiceRenderingManager;
    $wsrm.prototype.initialize = function () {
        // my custom code would go here
        $tsr.WebServiceRenderingManager.callBaseMethod(this, 'initialize');
    };
});

Is there a standard way/place to include my code above so that it will run after the initial WebServiceRenderingManager prototype is defined, but before the client-side code executes that initializes the control instances ($create(Telerik.Web.UI.RadScheduler, {...});)? Is there a best practice for this? 

Btw, I only need to do this for a particular aspx page, not globally for my entire site.

Thanks in advance!

 

Plamen
Telerik team
 answered on 25 Sep 2015
2 answers
34 views

hi

how  Get valor of RowSelected
example in gridview (traditional)

 

Protected Sub GridView1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles gvUsuario.SelectedIndexChanged

 'Here Code!!!!!!!

        Dim x as String

        Dim row As GridViewRow
        row = gvUsuario.SelectedRow
        ​x = gvUsuario.SelectedRow.Cells(1).Text
        MsgBox(x)

    End Sub

 

with RadGrid1 how would it be?

 

sorry my english

 

 

Nagiza
Top achievements
Rank 1
 answered on 25 Sep 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?