Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
93 views
Hi All,

I need Horizontal scroll on gridview.is it mandatory to Set UseStaticHeaders property to true .

Also any option in RAD grid filtering similar to excel sheet.

      The filter boxes require me to type in a value to filter on.  Is there an option for something closer to how Excel handles filters? 


Thanks
Vru
Pavlina
Telerik team
 answered on 25 May 2011
3 answers
115 views
Hi guys,

we have been implementing the RadSpell control within a number of large forms, both from within the RadEditor using the 'abc' spell-check button, and using a client-side 'mass-input' javascript function which combines all the fields on the forms and checks accordingly.

All has been working as expected, with a single tdf master dictionary file and allowing each user to add to a separate custom file with their username as the suffix.

One thing we have noticed though, when a user adds a custom word to their dictionary, it is displayed as a 'suggestion' for anyone else who tries to enter the same word.

I have tried this on your demonstration page of the website, and adding the english "theatre" to en-US-John.txt, when you enter the "theatre" and check using en-US-Sally.txt, although the word had not been added, it is still a suggestion.

If you wish to test, this also happens with other words we have used locally, and yet to add to the demo site ("colour", "analyse" etc)

Is this by design, or is it an issue with the spell-engine caching data? The concern arises by the fact that users could add incorrectly spelt words to their custom file, which would then be shown as a suggestion to all other users and could multiply any mistakes.

Look forward to hearing back about any resolution.

Mike
Rumen
Telerik team
 answered on 25 May 2011
4 answers
584 views

Hello,

I've developed my web app with Telerik ASP.NET AJAX libraries; when build my app (without errors) and deploy it on IIS obtain this error:

"Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. There is not enough space on the disk."

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

I've search on Google; I've change quota disk for IIS User, but the results don't change.

Where is the error?

Thanks.

M.
Cartoon Head
Top achievements
Rank 1
 answered on 25 May 2011
4 answers
78 views
Hi,

I have this piece of code:



<script type="text/javascript">
 
 
       function setEmpty()
        {
            var combo = $find("<%= combo1.ClientID %>");
            combo.clearselection(); 
            combo.set_emptyMessage("select please"); 
        }
 
 
        function nodeClicking(sender, args) {
            var comboBox = $find("<%= combo1.ClientID %>");
 
            var node = args.get_node()
            comboBox.set_text(node.get_text());
 
            comboBox.trackChanges();
            comboBox.get_items().getItem(0).set_text(node.get_text());
            comboBox.get_items().getItem(0).set_value(node.get_value());
 
            comboBox.commitChanges();
 
            comboBox.hideDropDown();
 
            // Call comboBox.attachDropDown if:
            // 1) The RadComboBox is inside an AJAX panel.
            // 2) The RadTreeView has a server-side event handler for the NodeClick event, i.e. it initiates a postback when clicking on a Node.
            // Otherwise the AJAX postback becomes a normal postback regardless of the outer AJAX panel.
 
            //comboBox.attachDropDown();
        }
 
        function StopPropagation(e) {
            if (!e) {
                e = window.event;
            }
 
            e.cancelBubble = true;
        }
 
        function OnClientDropDownOpenedHandler(sender, eventArgs) {
            var tree = sender.get_items().getItem(0).findControl("rvt1");
            var selectedNode = tree.get_selectedNode();
            if (selectedNode) {
                selectedNode.scrollIntoView();
            }
        }
    </script>
 
 
<telerik:RadComboBox ID="combo1" runat="server" CausesValidation="false"
    EnableEmbeddedSkins="false" OnClientDropDownOpened="OnClientDropDownOpenedHandler"
    EmptyMessage="select please" MaxHeight="200px"  ShowToggleImage="True" 
 
    Width="50%" AllowCustomText="True">
    <ItemTemplate>
        <div id="div1">
            <telerik:RadTreeView ID="rvt1" runat="server" Width="100%" Height="250px"
                DataSourceID="ds1" DataFieldID="ID" DataValueField="ID"
                DataFieldParentID="ParentID" DataTextField="Name" OnClientNodeClicking="nodeClicking" >
                <DataBindings>
                    <telerik:RadTreeNodeBinding Expanded="true" />
                </DataBindings>
            </telerik:RadTreeView>
        </div>
    </ItemTemplate>
    <Items>
        <telerik:RadComboBoxItem Text="" />
    </Items>
</telerik:RadComboBox>
<asp:ObjectDataSource ID="ds2" runat="server"
    EnablePaging="True" OnSelecting="dds2_Selecting"
    SelectMethod="GetList" TypeName="BLL">
    <SelectParameters>
        <asp:Parameter Name="p1" Type="Int32" />
        <asp:Parameter Name="p2" Type="Int32" />
        <asp:Parameter Name="p3" Type="Boolean"  DefaultValue="True" />
    </SelectParameters>
</asp:ObjectDataSource>



The combobox is inside a panel. When I show the panel, I call the function setEmpty() to clear the previous data. The problem is that I get a javascript exception. Debugging, I realize that the that the find("<%combo1.ClientID %>"); is returning null... ie it is not able to find the combo1.ClientID. The strange thing is that the function nodeClicking is working, ie, when I click in a node, the nodeClicking function is properly executed... The only problem is with tje setEmpty() function.


Gimmik
Top achievements
Rank 1
 answered on 25 May 2011
1 answer
70 views
Hello,

In our application, we have a scenario where we need to handle multiple ajax postbacks executing in parallel. We have set "RequestQueueSize" of the Ajax Manager to 10 to accomplish this,

After doing so, We found a problem when we tested the scenario outlined below :

We have 2 combos(Say combo1 and combo2) on a page, both of which cause postbacks to populate different fields . We executed the following steps:

1. choose a value in combo1. Combo 1 posts back to fetch and populate related values on our page
2. change the selected value in combo1. While its postback is executing, choose a value in combo2.

On doing this we found both postbacks execute successfully. But After combo2's postback finishes executing, the state of combo1 is restored to what it was after step1 above.

Any help with solving this problem would be greatly appreciated.
Thank you
Maria Ilieva
Telerik team
 answered on 25 May 2011
1 answer
411 views
Hello,

I have an empty PanelBar in my aspx page and I want to fill it in the code behind.
I successfully fill the PanelBar with PanelItems but I don't understand how to build th HeaderTemplate and Contentemplate.
This work :
RadPanelItem myPanelItem = new RadPanelItem("First item")
myPanelBar.Items.Add(myPanelItem);

But when I try to add the headerTemplate like that :
RadPanelItem myPanelItem = new RadPanelItem("First item")
 
Button btn = new Button();
btn.Text = "Test";
myPanelItem.Header.Controls.Add(btn);
 
myPanelBar.Items.Add(myPanelItem);


Visual studio say that the Header is null and the header can't be instanciate.

So I try others way but nothing successfull
Is someone has any solution ?
Kalina
Telerik team
 answered on 25 May 2011
2 answers
380 views
Hi,

My problem is very simple. When I deleted a user from my grid, I want to call radConfirm (from RadAjaxManager) from the serverside and send some info to the callback js function, but I don't know how to pass variables into the radConfirm. I found this trick, but it only work if my radConfirm call come from a Js function, Like I said, my call come from the serverside. So, I tried to call a Js function from the serverside with the following code :

             string script = "<script language='javascript'> " +       
                                   "    jsFunction(" + myVar + ");" +
                                   "</script>";  
            
            Page.ClientScript.RegisterStartupScript(this.GetType(), "script ", script );

This seem to work, except that if I make a Telerik instruction in the jsFunction (like radconfirm), it doesn't work (Chrome's java
console said that I can't call radConfirm from undefined). 


So, may someone help me? How may I do it ?
Thank you

David
David
Top achievements
Rank 1
 answered on 25 May 2011
3 answers
439 views
Hi,
Whenever we set ShowExportToExcel/Csv/Pdf = true, in the command item settings, the buttons are displayed right corner, in my case top-right corner. I want to place the buttons on the top-left corner of the grid. Is there a way to achieve this?

Thanks.
Daniel
Telerik team
 answered on 25 May 2011
1 answer
86 views
I don´t know how long it will be available, but this is the most challenging #captcha I´ve ever found: http://bit.ly/votaxpiki

I figured it out the third time. Its really hard.
Pero
Telerik team
 answered on 25 May 2011
1 answer
106 views
Hello

I have deployed my asp.net 2 application that i developed in a 32bit environment to a 64 bit server.
IIS 7(Windows WebServer 2008 R2)

It worked fine until i set my application pool to enable 32bit applications to true, all telerik controls are now rendering incorrectly 
eg. The RadMenu is not rendering its children and the RadTabStrip isn't displaying

Regards
Kate
Telerik team
 answered on 25 May 2011
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
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
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?