Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
58 views

we want insert appointment , and when we click on the insert  the dialog like attach here opened before the appointment details is open.

We want to cancel this dialog and pass to appointment details  Immediately.

Can we do that?

Thank you!

Veronica
Telerik team
 answered on 22 Jun 2010
1 answer
82 views
Hi,
I am trying to open an aspx page from a radwindow by setting its navigateurl property. I have a button on the aspx page which does a postback when I click it the first time, however it does not do a post back anytime after that. Is there any setting that I need to do for this or am i missing something here?


Petio Petkov
Telerik team
 answered on 22 Jun 2010
5 answers
214 views
Hi guys !

I am a bit lost with the use of RadAjaxManager, and I don't know how to regulate the error : "Message d'exception : Only one instance of a RadAjaxManager can be added to the page!"

Indeed I developped a page.aspx in which I use a component.ascx

This component contains a tree view with a RadAjaxManager.

But in page.aspx, I am using a RadComboBox, and I would like to do a filter as this example : http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/filteringcombo/defaultcs.aspx

That is why I need to add to my page :
telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> 
            <AjaxSettings> 
                <telerik:AjaxSetting AjaxControlID="RadComboBox2"> 
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="RadComboBox1" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
            </AjaxSettings> 
        </telerik:RadAjaxManager> 

But if I do that, as I have already a RadAjaxManager in component.ascx, I have the error : " Message d'exception : Only one instance of a RadAjaxManager can be added to the page!"

So I know why I have this error but I really can't find a solution to make it working...

Can you please help me ?

Thanks


Seth
Top achievements
Rank 1
 answered on 22 Jun 2010
2 answers
100 views
Version: 2009 Q3
Internet Explorer 8
Visual Studio 2005


The tab strip, if set to use the Forest skin has style issue for Chinese Characters.  Similar issues are found if I have both Chinese and English characters.  May I know how to fix it?


Thanks.
Alfred
Top achievements
Rank 1
 answered on 22 Jun 2010
2 answers
122 views
Hi, I'am constructing filter expression directly, not using FilterContainerID. I have RadTreeView, which must be ajax refreshed, when user click apply button in filter. I use next code to support ajax refresh filter, when user edit filter expression:
<rad:RadAjaxManagerProxy ID="AjaxManagerProxy" runat="server">  
    <AjaxSettings> 
        <rad:AjaxSetting AjaxControlID="Filter">  
            <UpdatedControls> 
                <rad:AjaxUpdatedControl ControlID="Filter" LoadingPanelID="LoadingPanel"/>  
            </UpdatedControls> 
       </rad:AjaxSetting> 
    </AjaxSettings> 
</rad:RadAjaxManagerProxy> 
Next code refresh RadTreeView on each user filter edit operation, this wrong. I need refresh only RadTreeView(not full page with other controls) on apply button click:
<rad:RadAjaxManagerProxy ID="AjaxManagerProxy" runat="server">  
    <AjaxSettings> 
        <rad:AjaxSetting AjaxControlID="Filter">  
            <UpdatedControls> 
                <rad:AjaxUpdatedControl ControlID="Filter" LoadingPanelID="LoadingPanel"/>  
                <rad:AjaxUpdatedControl ControlID="TreeView" LoadingPanelID="LoadingPanel"/>  
            </UpdatedControls> 
       </rad:AjaxSetting> 
    </AjaxSettings> 
</rad:RadAjaxManagerProxy> 
Next code, throws
"Microsoft JScript runtime error: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00$ctl00$MainMasterContent$MainContent$TreeViewPanel'. If it is being updated dynamically then it must be inside another UpdatePanel."
when user click apply button:
protected void Page_Load(object sender, EventArgs e)     
{     
    var applyFilterButton = Filter.Controls.OfType<Button>().First();     
    
    var ajaxSetting = new AjaxSetting(applyFilterButton.UniqueID);     
    ajaxSetting.UpdatedControls.Add(new AjaxUpdatedControl(TreeView.ID, LoadingPanel.ID));     
    AjaxManagerProxy.AjaxSettings.Add(ajaxSetting);     
}   

Please, help solve this problem.
Jonny
Top achievements
Rank 1
 answered on 22 Jun 2010
3 answers
133 views
In my edit template, i am trying to bind the items to the Textbox for editing, this does not work and I am left with a blank textbox.  I am data binding on a datatable.  the item template shows the data correctly, I then have to hit the edit button twice(dunno why) then i see the 3 empty text boxes.  Any help is appreciated.

//Code Behind file
 dt = new DataTable();
            dt.Columns.Add("SummaryID");
            dt.Columns.Add("BegTimeStamp");
            dt.Columns.Add("EndTimeStamp");
            DataRow dr = dt.NewRow();
            dr["SummaryID"] = "Rule 1";
            dr["BegTimeStamp"] = "5/21/2010 6:00:00 AM";
            dr["EndTimeStamp"] = "5/24/2010 6:00:00 PM";
            dt.Rows.Add(dr);

  protected void ruleLV_NeedDataSource(object sender, RadListViewNeedDataSourceEventArgs e)
    {
        ruleLV.DataSource = dt;
    }
//end code behind

<telerik:RadListView ID="ruleLV" runat="server"
                            ItemPlaceholderID="RulePlaceHolder"
                            onneeddatasource="ruleLV_NeedDataSource" Skin="Windows7"
                             onselectedindexchanged="ruleLV_SelectedIndexChanged"
                             onitemcommand="ruleLV_ItemCommand" DataKeyNames="SummaryID"
                            >
                         <LayoutTemplate>
                          <table runat="server" >
                           <tr>
                            <th id="SummaryIdHdr" runat="server" width="150px">Rule ID</th>
                            <th id="BegTimeStampHdr" runat="server" width="200px">Start Date/Time</th>
                            <th id="EndTimeStampHdr" runat="server" width="200px">End Date/Time</th>
                           </tr>
                           
                           <tr id="RulePlaceHolder" runat="server" ></tr>
                          
                          </table>
                           <fieldset style="text-align: center; background-color: white;">
                          
                        </fieldset>
                         </LayoutTemplate>
                            <EditItemTemplate>
                             
                                <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("SummaryID") %>'></asp:TextBox>
                                <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("BegTimeStamp") %>'></asp:TextBox>
                                <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("EndTimeStamp") %>'></asp:TextBox>
                            </EditItemTemplate>
                         <ItemTemplate>
                   
                         <tr ID="rules" bgColor="White" runat="server">
                            <td> <%#Eval("SummaryID") %></td>
                            <td> <%#Eval("BegTimeStamp") %></td>
                            <td> <%#Eval("EndTimeStamp") %></td>
                            <td><asp:Button Id="EditButton" Text="Edit" runat="server" CommandName="Edit" /> </td>
                          </tr >
                
                         </ItemTemplate>
                      
                       
                        </telerik:RadListView>
Jeremy
Top achievements
Rank 1
 answered on 22 Jun 2010
2 answers
135 views
I'm looking for a way to resize the mode button at the bottom of the radEditor, beacause when I use the french language they are way too small.

Thanks
Sébastien
Top achievements
Rank 1
 answered on 22 Jun 2010
1 answer
105 views
I am creating a file upload page that will allow my users to upload multiple documents at one time.  I am also loading index values for each file when saving the documents.  The wrench is that each document could have different index values.

I am attempting to accomplish this by loading the file names and indexes into a RadGrid and when the user is ready, they click on an upload button.  If I leave the files in the AsyncRadUpload control, everything works fine.  But having the files show in the RadUpload control and in my grid makes it kind of confusing for the common end user.

Ideally I would like to remove the files from the RadUpload control but I'm unsure how to upload the files from that point.  Is this possible?  If not, is there a way to hide the list of files that have been selected in the AsyncRadUpload control?

TIA

Seth
Dimitar Milushev
Telerik team
 answered on 22 Jun 2010
2 answers
82 views
Hi,

(sorry for my english, french guy) ;)

I have 3 combobox who when I choose an item in ComboBox1, the ComboBox2 will be filtered according to the Combobox1. (Same thing with Combobox3 according to the Combobox2).
But I can select an item from Combobox3 without an item selected from Combobox2 (Same thing for Combobox2 without selection from Combobox1).

So, how can I load on demand combobox3 and setValue for Combobox2 and Combobox1 after I choose an item from Combobox3 ?
And after this, How can clear Combobox2 and Combobox3 if I change the value from Combobox1 (Think that comboBox2 et Combobox3 must be reload on demand) ?

Thank
S C
Top achievements
Rank 1
 answered on 22 Jun 2010
3 answers
248 views
I have a cloned 3.5 .net app that is using telerik controls.  I have downloaded the trial version of telerik.  Trouble is this form has RadInput controls and it appears I need a seperate assembly in the bin.  How do I get it??  My forms are erroring out and wont display in design view.
Schlurk
Top achievements
Rank 2
 answered on 22 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?