Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
150 views
Hello,

I've a serious problem with RadComboBox

When Filtering RadComboBox  IE 9 , it works fine actually with markfirstmatch property and i could filter with more than one character
For example if i am filtering Combobox to find item with name "AmrRafat", i could write 'amr' and the combobox will do the rest and finds this item.

but when trying the same scenario in IE 11, it only accepts the first character and each time i am pressing a key it consider it as the first character for filtering
For example if i am filtering Combobox to find item with name "AmrRafat", and i tried to write 'amr' Then Combobox will assume only one character and filter with it

.aspx File

<telerik:RadComboBox ID="cmbPayers" runat="server" Width="100%"  AutoPostBack="true" Filter="Contains"  MarkFirstMatch="true" TabIndex="11" OnSelectedIndexChanged="cmbPayers_SelectedIndexChanged"></telerik:RadComboBox>

Any Ideas?
Nencho
Telerik team
 answered on 04 Mar 2014
1 answer
96 views
Dear Sir

I have problem on splitter in User control. 

I use radgrid and pop up a user control (ucA) for editing. In this  user control(uc A), I have another user control (ucB) which have a radsplitter as top level. 

I tried wrap a div with width and height in percentage or px to ucB in ucA, The radsplitter rendered with wrong width and height.  it totally ignores the Div in ucA.

When I can the client page of source code, I fount it sets the width to the radgrid width. 

Summary: the radsplitter in user control can't response the host width.

Please let me know how to solve this.

Thank you very much.

Jason

Vessy
Telerik team
 answered on 04 Mar 2014
3 answers
128 views
I have setup a simple vertical splitter.  When I change the size of the browser window, the width of the splitter follows the width of the browser window as I intended.

How do I do the same with the height?  I can set the height of the splitter to 100% but I am only permitted to set the height of each pane in pixels and not in %.

<!DOCTYPE html>
<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <script type="text/javascript">
        // Script here
    </script>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <div style="height:100%">
 
        <telerik:RadSplitter ID="RadSplitter1" Runat="server" Height="100%"
            Skin="WebBlue" Width="100%" LiveResize="True">
            <telerik:RadPane ID="RadPane1" Runat="server" Width="30%" Height="300px"
                ContentUrl="http://activeminds.ca" Scrolling="None">
            </telerik:RadPane>
            <telerik:RadSplitBar ID="RadSplitBar1" Runat="server">
            </telerik:RadSplitBar>
            <telerik:RadPane ID="RadPane2" Runat="server">
                Test content
            </telerik:RadPane>
        </telerik:RadSplitter>
 
    </div>
    </form>
</body>
</html>
Vessy
Telerik team
 answered on 04 Mar 2014
1 answer
259 views
I have an asp.net drop down list. There is a "new" option in it. Selecting that will show 2 labels,2 text boxes and an asp.net button. Entering values in the textboxes("John","Doe")and hitting the button should add a value to the Database table and also refresh this drop down and . It did that when I DID NOT use ajax. Now when i use ajax (radajaxmanager), it adds the value to the table and shows that it is selecting the newly added value in the codebehind, but the drop down selected value shows as "New". It should say for example "John Doe". I went for ajax because I have many drop downs in the page and postbacks were not optimal.  Where did I go wrong?

<telerik:RadAjaxManager ID="ram" runat="server"><br>        <AjaxSettings><br>            <telerik:AjaxSetting AjaxControlID="ddlCustomerContact"><br>                <UpdatedControls><br>                    <telerik:AjaxUpdatedControl ControlID="divAddNewCustomerContact"/><br>                </UpdatedControls>
 </telerik:AjaxSetting>
</AjaxSettings>
        </telerik:RadAjaxManager>

In the codebehind  I write a method BindCustomerContact() after I add "John Doe". 

 If intNewCustomerID > 0 Then<br>            ddlCustomerContact.SelectedValue = intNewCustomerID<br>        Else<br>            ddlCustomerContact.SelectedIndex = 0<br>        End If<br>...

When I debugged it set the value of the drop down as the new value, but my UI shows "New". Any help would be appreciated.
Princy
Top achievements
Rank 2
 answered on 04 Mar 2014
1 answer
477 views
I have a RadDropDownTree and a RadTreeView on the same page.  Basically, a list of messages are being loaded on the page when a category is selected.  The layout of this app requires that the treeview be displayed in a dropdown instead of the traditional treeview.  Since I already have the radtreeview successfully executing all of the code I want it to when a node is selected, I was hoping to fire that code when a selection is made on the raddropdowntree.  Right now, I have some code in javascript which causes a category to get selected in the radtreeview whenever the same cayegory is selected in the raddropdowntree.  However, it seems that the radtreeview node is getting selected with this code, but it is not getting clicked.  The messages do not get loaded the same way they would if someone were to explicitly click on the radtreeview node.

Here is my javascript which causes the readtreeview category to get selected when the same raddropdown is selected.  Does anyone know how I can make it not just select the node, but also click on the node?

<script type="text/javascript">
        function OnClientDropDownClosed1(sender, eventArgs) {
            var tree = $find("ctl00_MainContent_MessageList1_MessageFilter1_RadDropDownTree1");
            var entries = tree.get_entries();
            var selectedText = tree.get_selectedText();
            document.getElementById("ctl00_MainContent_CategoryTree1_hfCategoryNum").value = selectedText;
 
            SelectNode(selectedText);
 
        }
 
        function SelectNode(nodeName) {         
            var tree = $find("ctl00_MainContent_CategoryTree1_TreeViewDirectory");
            var node = tree.findNodeByText(nodeName);
            tree.trackChanges();  
            node.set_selected(true);           
            tree.commitChanges();           
               
        }
 
</script>
 
Shinu
Top achievements
Rank 2
 answered on 04 Mar 2014
4 answers
88 views
Hello there,
I have just upgraded to Q1 2014 from Q3 2013 SP2. I have noticed the following behaviour in the toolbars in IE11:

- The images with the Question tab activated (740px width) - there is a large difference in the way in which the bottom tools are rendered
- The images with the Instructions tab activated (99% width) - the top toolbar behaves so differently to the other.

Before the upgrade, these editors looked like the compatibility mode off images, but the compatibility mode was on.
Now, after the upgrade and with compatibility mode on, they look terrible. Turning off compatibility mode ruins the layout of the rest of my application, so the requirement is to have compatibility mode settings to on.

I have also included a screen capture of my aspx code - I collapsed some areas to fit on to one screen.

Do you have any thoughts / suggestions?
Bryan
Top achievements
Rank 1
 answered on 04 Mar 2014
5 answers
376 views
On my master page I have a telerek radmenu called "myMenu" see attached

On my aspx page that uses the master page I am trying to alter the link on the button "door" but the following wont work. Can you please help

Protected Sub Page_Load()
 
Dim H As RadMenu = DirectCast(myMenu.FindControl("House"), RadMenu)
Dim D As RadMenuItem = DirectCast(H.FindControl("door"), RadMenuItem)
 
D.click = LoadStuff()
 
End Sub
 
 
Private Sub LoadStuff()
 
'update something in vb.net
 
End Sub
Shinu
Top achievements
Rank 2
 answered on 04 Mar 2014
7 answers
223 views
I have a problem to while exporting the data of Hierarchical RadGrid data in pdf form.

Please see the attached image.

It is not showing proper data. And i am writng the code to export the pdf of radgrid on a Simple Image Button Click.
Please help me. It is urgent for me. Thanks in advance.
Princy
Top achievements
Rank 2
 answered on 04 Mar 2014
3 answers
596 views
this is how I do it with a MS dropdown:

DropDown1.Items.IndexOf(DropDown1.Items.FindByValue(elementValue))

How is this done in VB with a radDropDown??

thanks
Shinu
Top achievements
Rank 2
 answered on 04 Mar 2014
2 answers
51 views
Hi,

I have a context menu that needs to have it's right click work with a tap and hold on ipads. I have gone through the examples at http://www.telerik.com/forums/radcontextmenu---ipad-safari-right-click but I haven't seen an example that's really like my mine. It's a context menu inside a .NET repeater control where right clicking on a row shows a menu with items that are bound to that row and clicking on an item redirects the user according to the data in that row. The main problem has been finding way to refer to the context menu and the rows since they are generated on the server. I was wondering if it's possible to do this and if anyone has suggestions?

Thanks,
Bill
bill
Top achievements
Rank 1
 answered on 04 Mar 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?