Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
168 views
Hello,

I am using nested panels that are visible one at time to show a sequence of steps to fill out a form.
For example PanelMain( (panel1) (panel2) )

I am using the radajax manager to ajax the panels. Example below.
 <telerik:AjaxSetting AjaxControlID="btnStep1" > 
   <UpdatedControls> 
     <telerik:AjaxUpdatedControl ControlID="pnlMain" LoadingPanelID="RadAjaxLoadingPanel1" /> 
   </UpdatedControls> 
 </telerik:AjaxSetting> 


I had to implement the radfileupload control on a panel and I used the workaround
http://www.telerik.com/help/aspnet-ajax/ajxexclude.html step 3.  I had to nest a radajaxpanel within a asp:panel that was wired to the radajaxmanager to finally get it to work because I only wanted that section of the panel to fire a postback.  The upload button fires the postback.  The odd behavior is when radcontrols that are not currently visible on the panel and a postback event is fired then they will display incorrectly once they are made visible. The only way to fix the way they display would be to fire off the click event that caused the postback when these controls are visible.

Is this a glitch?
Mike
Top achievements
Rank 1
 answered on 08 Dec 2008
0 answers
91 views
Hi,

I have a 
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<%@ Register src="WebUserControl.ascx" tagname="WebUserControl" tagprefix="uc1" %> 
 
<!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></title
</head> 
<body> 
    <form id="form1" runat="server"
    <div> 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
        </telerik:RadScriptManager> 
        <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True"  
            AllowSorting="True" GridLines="None"  
            onneeddatasource="RadGrid1_NeedDataSource" AllowAutomaticDeletes="True"  
            AllowAutomaticInserts="True" AllowAutomaticUpdates="True"  
            AutoGenerateDeleteColumn="True" AutoGenerateEditColumn="True"
<HeaderContextMenu EnableTheming="True"
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
</HeaderContextMenu> 
 
<MasterTableView> 
<RowIndicatorColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</RowIndicatorColumn> 
 
<ExpandCollapseColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</ExpandCollapseColumn> 
<Columns> 
<telerik:GridTemplateColumn HeaderText="someheader"
<ItemTemplate> 
some user control 
</ItemTemplate> 
<EditItemTemplate> 
<uc1:WebUserControl ID="WebUserControl1" runat="server" /> 
</EditItemTemplate> 
</telerik:GridTemplateColumn> 
</Columns> 
</MasterTableView> 
 
            <ClientSettings> 
                <Scrolling AllowScroll="True" UseStaticHeaders="True" /> 
            </ClientSettings> 
 
<FilterMenu EnableTheming="True"
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
</FilterMenu> 
        </telerik:RadGrid> 
    </div> 
     
    </form> 
</body> 
</html> 


And the usercontrol:



<%@ Control Language="C#" AutoEventWireup="true" CodeFile="WebUserControl.ascx.cs" Inherits="WebUserControl" %> 
<asp:ListBox ID="ListBox1"  SelectionMode="Multiple" runat="server"
    <asp:ListItem>12</asp:ListItem> 
    <asp:ListItem>3</asp:ListItem> 
    <asp:ListItem>45</asp:ListItem> 
    <asp:ListItem>5</asp:ListItem> 
    <asp:ListItem>5</asp:ListItem> 
    <asp:ListItem>44</asp:ListItem> 
    <asp:ListItem>3434</asp:ListItem> 
</asp:ListBox> 
 

how do i get the values from the listbox in the usercontrol when performing a save or update? and how do i select pre-defined values(the ones saved in an edit to a db) in the listbox when displaying it in itemtemplate?


 
first last
Top achievements
Rank 1
 asked on 08 Dec 2008
0 answers
96 views
I have a Scheduler control that is currently showing a 7 day week in TimelineView mode.  The correct days are being displayed in the content area, however the header reads "Mon, 12/08/2008 - Mon, 12/15/2008", which is incorrect, as only Monday through Sunday are being displayed.  Is this a known issue, and if so is there a fix or workaround available?
Tiarnan
Top achievements
Rank 1
 asked on 08 Dec 2008
3 answers
167 views
Ok, I know this is a weird one:

Is it possible (without returning multiple columns) to group IP addresses displayed in RadGrid by subnet?

For example:
1.1.1.1 - 1.1.1.255
1.1.2.1 - 1.1.2.255
1.1.3.1 - 1.1.3.255

Thanks.
apb
Top achievements
Rank 1
 answered on 08 Dec 2008
1 answer
123 views
I have added templates at runtime to my menu and that works fine.
The template includes a RadTextBox that I want to do a postback on TextChanged.
in the InstantiateIn function I have
                radTextBox.TextChanged += new EventHandler(radTextBox_TextChanged); 
This works the first time it is called. Subsequent changes to the text cause a postback, but it does not seem that the TextChanged function is called.
            void radTextBox_TextChanged(object sender, EventArgs e) 
            { 
                RadTextBox target = (RadTextBox)sender; 
                if (target.BackColor == System.Drawing.Color.Red || target.BackColor == System.Drawing.Color.Green) 
                { 
                    target.BackColor = System.Drawing.Color.Green; 
                } 
                else 
                { 
                    target.BackColor = System.Drawing.Color.Red; 
                } 
            } 
The backcolor of the RadTextBox starts as white, turns red on a postback and doesn't change again when I change the text more.

I'm pretty lost on what to try to get the text changed to call properly more than the first time. Any pointers would be greatly appreciated.
Baatezu
Top achievements
Rank 2
 answered on 08 Dec 2008
2 answers
104 views
Hello,

Out of the box, why is the font for the selected item in the RadComboBox so bigger than the rest of the text?  Is that a setting somewhere, or is what what the Skin looks like?  Do all the skin's look like that?

Thanks.
Brian Mains
Top achievements
Rank 1
 answered on 08 Dec 2008
1 answer
120 views
Hi there,

I'm trying to add a little 'Insert Widget' button for a CustomDialog, but I'm stuck at resizing the button (CSS Class rade_tools) to a specific size.

Is there a way of programatically defining the button size, overriding the default values?

Thanks in advance.
Rumen
Telerik team
 answered on 08 Dec 2008
2 answers
234 views
It seems that GetAppointmentsInRange will return only the first item in a recurrence pattern or an exception to the pattern (with its own record in the db).  If I run this on a date containing a standard recurrence of an appointment, nothing is returned.

I need to get a list of all the events on a date regardless of if they are a one-off, first of a recurrence, or otherwise...basically, if it is being rendered by Scheduler on a particular day, I am hoping to find a way to get the appointment via code.  Is that the intent of the "GetAppointments..." methods?  If not, what is the proper way to query for a day's events?

Thanks,
Jeff
GrZeCh
Top achievements
Rank 2
 answered on 08 Dec 2008
2 answers
97 views
The images in the Toolbar help article "HTML structure explained" show up as broken links:

http://www.telerik.com/help/aspnet-ajax/appearance-html-structure-explained.html

Is it me? If bot, cna you fix that please, it's an interesting article.

Thanks, Steve
Steve Newbery
Top achievements
Rank 1
 answered on 08 Dec 2008
0 answers
145 views
Greetings,

I've been using the online and installed help to try and make a hierarchical grid within Sharepoint. I can get the Master data just fine, but the detail data will not show up. When I expand the record I always get "No child records to display". I've been struggeling with this for days now and I'm absolutely at a dead end. 

Here is what I'm trying to do. If anyone spots something out of the ordinary please let me know:

My design is to make a Sharepoint web part that programatically builds and binds the data.

nm...found the problem
Matthew
Top achievements
Rank 1
 asked on 08 Dec 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?