Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
140 views
Is there any workaround that will allow me to use the RadInputManager on an MVC application?

Specifically in a block of code like:

    <% using (Ajax.BeginForm("Search", "Events")) 
       { %> 
    <span id="EventSearchDiv"
        <%= Html.TextBox("EventSearch")%> 
        <input type="submit" value="Search" /> 
    </span> 
    <telerik:RadInputManager ID="RadInputManager1" runat="server"
        <telerik:TextBoxSetting BehaviorID="EventSearchBehavior" 
            EmptyMessage="Enter Event ID" 
            Validation-IsRequired="true" 
            ErrorMessage="Enter search text"
            <TargetControls> 
                <telerik:TargetInput ControlID="EventSearchDiv" /> 
            </TargetControls> 
        </telerik:TextBoxSetting> 
    </telerik:RadInputManager> 
    <% } %> 

I get 

Control ... RadInputManager1_EventSearchBehavior' of type 'InputSettingCustomValidator' must be placed inside a form tag with runat=server.



Georgi Krustev
Telerik team
 answered on 29 Sep 2009
2 answers
580 views
Hi

How can I disable the Edit and Delete Column if my RadGrid is in Edit or Insert Mode? I'm disabling the Refresh and AddNew Button OnItemDataBound but can't find the buttons for each row. 

At the moment I cancel the the event in the OnItemCommand handler but would like to give the user som visual hint (greyed out) that these buttons aren't working.

Thanks for advice!
Softec
Top achievements
Rank 1
 answered on 29 Sep 2009
1 answer
88 views
I'm trying to use the Rad Editor to build a document, but it seems to change my document when I switch between the design view and html view.

How can this be avoided?

I enter this
<!--
CUSTOM CODE HERE
--> 
fail 
<!--
CUSTOM CODE HERE
--> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html> 
    <head> 
    </head> 
    <body>       
       some text 
    </body> 
</html> 
<!--
CUSTOM CODE HERE
--> 


and its converted to this
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html> 
    <head> 
<!--
CUSTOM CODE HERE
--> 
    </head> 
    <body> 
        fail 
<!--
CUSTOM CODE HERE
--> 
      some text 
<!--
CUSTOM CODE HERE
--> 
    </body> 
</html> 


Tervel
Telerik team
 answered on 29 Sep 2009
0 answers
52 views
Sorted it
Jonathan
Top achievements
Rank 1
 asked on 29 Sep 2009
3 answers
119 views

Hi!

I'm using the RadRotator for a thumb Image Gallery. That image gallery is within a ajaxified form which has a navigation area that enables the user to, without posting back the entire page, go to the next, previous, last or first form record (not image gallery record!). I've noticed that if I open form record 1, which the images from the image gallery take several seconds to load, and try to go to any other form record the ajax event is not fired while at least one or two images of the gallery are fully loaded. I.e., if an image takes 15 seconds to load, the user will wait at least 15s until he navigates to the next form record.

Of course this timings where an exaggerated example. My intention is to don't let the user hanged until some image is loaded to change is record, even if it's a 1s wait. Are you aware of this issue? How do I work around it?


Regards,

Rodrigo S.
Rodrigo Selada
Top achievements
Rank 1
 answered on 29 Sep 2009
1 answer
91 views
<%@ Master Language="VB" CodeFile="PricingModel.master.vb" Inherits="Masters_PricingModel" %> 
 
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %> 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server">  
    <title>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server">  
      
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
            </telerik:RadScriptManager> 
         
            <telerik:RadSplitter id="RadSplitter1" runat="server" height="200" width="700">  
                <telerik:RadPane id="LeftPane" runat="server" width="22" scrolling="none">  
                    <telerik:RadSlidingZone id="SlidingZone1" runat="server" width="22">  
                        <telerik:RadSlidingPane id="Pane1" title="Pane1" runat="server" width="150">Pane1</telerik:RadSlidingPane>                    </telerik:RadSlidingZone> 
                </telerik:RadPane> 
                <telerik:RadSplitBar id="RadSplitbar1" runat="server"></telerik:RadSplitBar> 
                <telerik:RadPane id="MiddlePane" runat="server" Scrolling="Both">  
                Main Pane  
                 <div style="OVERFLOW: auto;">  
                <asp:contentplaceholder id="ContentPlaceHolder1" runat="server">  
                   </asp:contentplaceholder> 
                   </div> 
                </telerik:RadPane> 
                <telerik:RadSplitBar id="Radsplitbar2" runat="server"></telerik:RadSplitBar> 
                <telerik:RadPane id="EndPane" runat="server" width="22" scrolling="none">  
                </telerik:RadPane> 
            </telerik:RadSplitter> 
          
      
    <div> 
    </div> 
    </form> 
</body> 
</html> 

 

The above is the code for a master page.

 

What is in the contentplaceholder is quite large.

 

When I run the page the horizontal scroll is fine, and everything can be viewed width wise.

But, although the vertical scroll bar is there, you are able to scroll practically nothing, and it seems to be cut off at what ever height you have set the splitter to be.

Now I have set scrolling to Both on the pane, and I even tried puting the contentplaceholder in a div with scrolling, but it's just the same.

Hope someone can help!!!

 

 

 

Tsvetie
Telerik team
 answered on 29 Sep 2009
1 answer
202 views
Hi

I have a grid which contains a link button inside a template column

 <telerik:GridTemplateColumn HeaderText="Location">  
    <ItemTemplate> 
      <asp:LinkButton runat="server" ID="lnkAddress"></asp:LinkButton> 
    </ItemTemplate> 
    <ItemStyle Width="300px" /> 
    </telerik:GridTemplateColumn> 

The link button is given a command argument in the item data bound event

I have tried to set up the grid so that is triggers an ajax postback when the link button is clicked. However clicking the link button triggers a full postback. What am i doing wrong?

   <telerik:AjaxSetting AjaxControlID="gridPolls">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="lblMapStatus" /> 
                    <telerik:AjaxUpdatedControl ControlID="Map1" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 


Pavlina
Telerik team
 answered on 29 Sep 2009
2 answers
178 views
Hi,

Is it possible to render the TreeView control in a 'table format', something like on the picture below

http://img508.imageshack.us/img508/1060/gridtree.png

The RadGrid has a Hierarchical mode but it does not display the grid lines between nodes so the hierarchy between nodes is not so obvious so I thought maybe it is possible to do this with the TreeView control

Dejan
Atanas Korchev
Telerik team
 answered on 29 Sep 2009
8 answers
171 views
I am loading child nodes using webservice.  If there are no child nodes, I want the expand/collapse icon to go away.  I tried setting the expand_mode to clientside during the client onTreePopulated event but that didn't do anything.  Is there a way to refresh the state of the node?
Mirac
Top achievements
Rank 1
 answered on 29 Sep 2009
1 answer
177 views
Hello, I have a WebForm that uses the telerik RadGrid Version=2009.2.701.35. And I want to use the Insert/Update/Delete option Grid with Popup User Control Edit Form, but when i clicked in the bottom Edit and it all to work successfull. The only problem is that in the form load event (User control) , the IsPostBack is true.
So, I need that handler the IsPostBack in this UserControl with purpose to load other controls and populating whith data, I need that the event PostBack is False when the userControl is loading. Somebody help me?


Attached the project (The data base is in the AppData folder)
GridEditCommand


Thank you very much!!!.
Vlad
Telerik team
 answered on 29 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?