Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
75 views
Currently if there is not enough room to fit the filter options inside of the grid it will extend beyond the top of the grid.

I want to make the list extend beyond the bottom instead... I tried changing the Expand Direction property for FilterMenu with no luck.

How can I do this?


Radoslav
Telerik team
 answered on 19 Apr 2010
3 answers
216 views
I dont know why I guess its because we are on IE6, but the normal GridView control is a lot quicker than the RadGrid retutning the same data, so I'm stuck with the GridView.

I've implemented RadWindows to give me modal pop ups for data from the Gridview rows.

But what is happening is this - with RadAjaxManager the pop up would only show once, I then removed the RadAjaxManager and the pop up appears once after a postback. ie on load it works, I then hit the buton again and the page postsback (no ajax) then the pop up works again.

This is my code behind in the rowdataBound event:
 
            'SET UP BUTTON FUNCTIONS  
            'set View Demog button action  
            Dim ibd As ImageButton = CType(e.Row.FindControl("btnViewDemog"), ImageButton)  
            ibd.Attributes("href") = "#"  
            ibd.Attributes("onclick") = [String].Format("return ShowDemog('{0}');", e.Row.DataItem("id"))  
 
 And this is my client side javascript:
            function ShowDemog(id) {  
                alert("Boo");  
                window.radopen("ShowDemog.aspx?Patient_ID=" + id, "ShowDemog");  
                return false;  
            } 

In the pop up page after processing I call this:
ClientScript.RegisterStartupScript(Page.GetType(), "mykey", "CloseAndRebind();", True) 

Any help would be appreciated

Andy
Andy Green
Top achievements
Rank 1
 answered on 19 Apr 2010
1 answer
89 views
Do I need a dll for each radControl? It looks like there was a dll for each control in ASP 2.0, but did this go away with ASP 3.5?
Sebastian
Telerik team
 answered on 19 Apr 2010
3 answers
287 views
Hi,
I have a page contains iframe
ex: Page1.aspx contains radwindow and a iframe, iframe load Page2.aspx
Page2.aspx contains a button1 and a textbox
How to open radwindow when button1 is clicked and set arguments of radwindow when it closed to value of textbox
Thanks
Georgi Tunev
Telerik team
 answered on 19 Apr 2010
1 answer
67 views
Hi everybody,
I'm testing Telerik controls in order to use them in a wss/moss custom application. I need help passing data between different Panels.

My final goal is to make refreshing different web parts when i click on a control on a single web part passing some data to the other web parts before they render again.

I designed my app with 2 panel: a menu area and a content area.
The idea was to customize the master page where I put:

  • 1 asp:ScriptManager
  • 1 telerik:RadAjaxManager
    <asp:ScriptManager runat="server" ID="ScriptManagerMain" /> 
     <telerik:RadAjaxManager ID="RadAjaxManagerMain" runat="server"
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="CustomPanelMenu"
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadAjaxLoadingPanelMain"></telerik:AjaxUpdatedControl> 
                    <telerik:AjaxUpdatedControl ControlID="CustomPanelMain"  /> 
                 </UpdatedControls> 
            </telerik:AjaxSetting> 
            <telerik:AjaxSetting AjaxControlID="CustomPanelMain"
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadAjaxLoadingPanelMain"/> 
                    <telerik:AjaxUpdatedControl ControlID="CustomPanelMenu" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
 


  • 1 asp:Panel to be used for menu purposes
                <asp:Panel ID="CustomPanelMenu" runat="server"
                    <WebParts:TestMenu001 runat="server" ID="TestMenu001_1" Title="MenuSx" __MarkupType="vsattributemarkup" __WebPartId="{0ce525f0-089d-4f57-902a-78d4b87b34b9}" WebPart="true" __designer:IsClosed="false" /> 
              </asp:Panel> 
 



  • 1 asp:Panel where I put the standard moss content placeholder "PlaceHolderMain" for main content web parts
  • 1 telerik:RadAjaxLoadingPanel to make the application more interactive
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanelMain" runat="server"/> 
 
<asp:Panel ID="CustomPanelMain" runat="server"
    <asp:ContentPlaceHolder id="PlaceHolderMain" runat="server"
    </asp:ContentPlaceHolder> 
</asp:Panel> 
 

As you can see in the first code block, I configured the RadAjaxManager in order to update the panels.
I had to pass data between the web part I will put in the panels:
For example: when I click on a control in the web part put in the menu panel I want the web part put in the CustomPanelMain will refresh with the id I chose.

I try to put data in the Page.Session, but I tested that the refresh on the main web part will start before the data is written in the menu web part.
What am I wronging? What do you suggest to do that?

Many thanks,
RF


Sebastian
Telerik team
 answered on 19 Apr 2010
1 answer
100 views

I have got a simple grid two bound columns and one template column with a textbox.

I need to get the values of the bound columns is this possible. I need to multiply the textbox value with the bound column value

Now i can get the textbox value using

 

 

// var sumInput = null;

// var tempValue = 0.0;

// var retail = 0.0;

// function Load(sender, args) {

// sumInput = sender;

// }

// function Blur(sender, args) {

// sumInput.set_value(tempValue + (sender.get_value()));

// }

// function Focus(sender, args) {

// tempValue = sumInput.get_value() - (sender.get_value());

// }

 

Yavor
Telerik team
 answered on 19 Apr 2010
1 answer
151 views
in RadUpload Can we change select button into Add Button? . It mean when we click into textbox will open file and when we click to Add button will create new upload like normal Add Button in RadUpload , I also enclose a image which describe about what i say.Please help me.
Shinu
Top achievements
Rank 2
 answered on 19 Apr 2010
30 answers
459 views
i noticed schedular got recurrence with a few readonly property.
i couldn't find how i can store / set data.
normally how we can save the data?
and how about the all day check box?
i using asp.net with SQL database.
Iry Lee
Top achievements
Rank 2
 answered on 19 Apr 2010
4 answers
162 views
Hi there,

I'm trying to control a multipage control using a combobox.  I have added a tabstrip and set the multipageId and I can use the tabs to view each of the pageviews.  I'm using the following code in the combobox's OnClientSelectedIndexChanged event handler.

function OnClientSelectedIndexChanged(sender, eventArgs) { 
      var item = eventArgs.get_item(); 
      var multiPage = $find("<%=RadMultiPageQuickDD.ClientID %>"); 
      alert(multiPage.get_pageViews().get_count()); 
      multiPage.set_selectedIndex(item.get_index()); 

For some reason the pageview count is 0.  But I can switch between the pageviews using the tabs.

Below is the code in my ascx file:
<asp:Panel ID="pnlProductType" runat="server" Visible="false" CssClass=""
        <asp:Label ID="lblProductType" runat="server" Text="Product Type" AssociatedControlID="ddlProductType"></asp:Label> 
        <telerik:RadComboBox ID="ddlProductType" Runat="server" OnClientSelectedIndexChanged="OnClientSelectedIndexChanged"></telerik:RadComboBox> 
      </asp:Panel> 
      <telerik:RadTabStrip ID="RadTabStripQuickDD" runat="server" Skin="Default" MultiPageID="RadMultiPageQuickDD"
      </telerik:RadTabStrip> 
      <telerik:RadMultiPage ID="RadMultiPageQuickDD" runat="server" CssClass="pageView" OnPageViewCreated="RadMultiPageQuick_PageViewCreated"
      </telerik:RadMultiPage> 

I'm creating the tabs, pageviews, and combobox items at runtime on the server.

Any help would be appreciated.

Regards,

Mark.
Mark P
Top achievements
Rank 1
 answered on 19 Apr 2010
3 answers
179 views
Do you know if it is possible on the client side to disable via javascript the entire rad toolbar object directly, instead of iterating thru all of the tool bar items and disabling them one-by-one via the RadToolBarItem client object?  I did not see any appropriate methods on the RadToolBar client object API to disable the entire toolbar, but wanted to make sure I was not overlooking something. 

Thanks for the help
Vincent
Top achievements
Rank 1
 answered on 18 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?