Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
124 views
Hello,
I would like to be able to cycle through a listbox and take all the rows the user selects and display each one of his selections in seperate RadWindows. 

For example my list box contains
Yahoo - Value = http://www.yahoo.com
MSN    - Value = http://www.MSN.com
CNN - Value  = http://www.CNN.com

So my user selects Yahoo & CNN then clicks a button.  At this point I want two seperate windows one for yahoo and one for CNN.

Is this possible? Can it be done WITHOUT using javascript?

Thank You
Jerry
jerry
Top achievements
Rank 1
 answered on 17 Dec 2008
1 answer
107 views
Hi,

Is the Roadmap for Q1 2009 going to be made available soon?  I am looking forward to seeing what is next.

Thanks,

Richard
Ivo
Telerik team
 answered on 17 Dec 2008
1 answer
128 views
I have a RadGrid with a Master/Detail relationship.
On the Master records, I have a button called "AddChild". When this is clicked, it fires the ItemCommand, with that name, and runs the following code to insert a child record

Dim

 

GridItem As GridDataItem = CType(e.Item, GridDataItem)

 

GridItem.ChildItem.NestedTableViews(0).InsertItem()

Unfortunately, this code only works if the Detail recordset already had records related to the master record. If there are no detail records related, The page refreshes but the RadGrid appears unchanged.

In the DetailTableDataBind, I am using ParentTableRelations to link the Master/Detail records up.

Any ideas how I can make this work as expected, and insert all of the time, instead of just when there are pre-existing detail records?

Thanks in advance.

Keith Heilveil
Top achievements
Rank 1
 answered on 17 Dec 2008
0 answers
59 views
Hi

I am using fileupload inside Radgrid. the fileupload control visible when user in add or edit mode . after upload of content if i click submit. page postback happens, how to avoid It very urgent


Looking forward for help

Thanks in advance
sudheer
Top achievements
Rank 2
 asked on 17 Dec 2008
7 answers
175 views
I have a RadWindowManager and a RadGrid inside a RadUpdatePanel and for some reason my RadAlertMessage won't show.  It works great when I remove the panel.

Here is my Alert function:
Public Sub ShowRadAlertMessage(ByVal message As String)
    
Dim radalertscript As String = "<script language='javascript'> Sys.Application.add_load(function(){radalert('" & message & "', 330, 210);})</script>"
    Page.ClientScript.RegisterStartupScript(Me.[GetType](), "radalert", radalertscript)
End Sub

All I do is call it and pass it the message that I want displayed.  What can I do to get this to work inside the update panel?
Ronnie
Top achievements
Rank 1
 answered on 17 Dec 2008
2 answers
169 views
Hi,

I have a TabStrip on my page where one of the tabs contains a user control which I need to be updated with Ajax when the user selects one of a set of options located outside of the TabStrip.  Selecting one of these options triggers a client-side ajax request to update the User Control within the tab.  This works fine when the tab containing the User Control is selected, but when it is not I get an ajax error because the control is hidden as it is on another tab - the error is that it cannot find the control to update it.  Stopping the ajax request from firing if the required tab is not visible is not an option for me.  The User Control is statically defined on the page within a RadPageView linked to the tab and in the User Control code it adds itself as an updated control to the parent page Ajax Manager.  I need to do this because this User Control will also be dynamically loaded elsewhere on the page and need to be updated by Ajax.

Can you suggest how I can get around the issue of this Ajax error when the User Control is not visible?

Thanks in advance.
Jonathan
Top achievements
Rank 1
 answered on 17 Dec 2008
1 answer
104 views
Hello,

I have a problem when i use the FormDecorator inside a RadPane contentURL page and there in combination with the Radspell control and a table
I have a radSplitter with a Radpane where another page is loaded by the ContentUrl.
<telerik:RadSplitter ID="rsHome" runat="server" VisibleDuringInit="false" Orientation="Horizontal" 
                    Width="100%" Height="100%" CssClass="mainsplitter" BorderSize="0">  
                    <telerik:RadPane ID="rpHomeContent" runat="server" Scrolling="None" ContentUrl="Test.aspx">  
                        <!-- content pane --> 
                    </telerik:RadPane> 
                </telerik:RadSplitter> 

With IE7 the TextBox(es) are invisible when i use the Formdecorator in combination with the RadSpell controll and a table.
The Test.aspx page that is loaded inside the Radpane, is having this code:
<form id="form1" runat="server">  
    <asp:ScriptManager ID="ScriptManager1" runat="server">  
    </asp:ScriptManager> 
    <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" Skin="Outlook" /> 
    <table cellpadding="0px" cellspacing="0px" class="table_test">  
        <tr> 
            <td> 
                Write something  
            </td> 
            <td style="width: 250px; text-align: right">  
                <telerik:RadSpell ID="RadSpell1" runat="server" Skin="Sunset" ControlToCheck="txtWrite" 
                    ButtonType="PushButton" SupportedLanguages="en-US,English,fr-FR,French,de-DE,German,nl-NL,Dutch" 
                    Language="en-US" DictionaryPath="~/App_Data/RadSpell" /> 
            </td> 
        </tr> 
        <tr> 
            <td> 
            </td> 
        </tr> 
    </table> 
    <br /> 
    <asp:TextBox ID="txtWrite" runat="server" Width="700px" Height="100px" TextMode="MultiLine" 
        CssClass="write_text"></asp:TextBox> 
    </form> 

This works ok in FF, where the textbox is visible.
In IE7 the folowing happens.
When i remove the Formdecorator, the textbox is visible.
When i remove the table and RadSpell, the textbox is visible and decorated.
Strange..
When i remove only the table, and keep the RadSpell the textbox is invisible.
When i remove only the radSpell and keep the table the textbox is invisible.
Stranger...
When i put the TextBox inside the table, the TextBox is also visible.
This is in the same TD or in another TR-TD.

The above is with the first page load.
When is use the RadSpell, or do some other action, the invisible textbox will be visible.

I hopes this is clear, is realy complex to explain :-)

p.s.
It works ok in IE7, when i not use the Test.aspx page inside a radpane.

Marchu


 
Georgi Tunev
Telerik team
 answered on 17 Dec 2008
1 answer
65 views
Hi

I need to insert a new row on the grid by clicking on the Add New Row button.This can be done as specified in the tutorial.But my issues is when I click the Add New row button, I need to get the product ID automatically.(max(productid)+1 from the Products Table.How it can be done.Pls guide me regarding this .Its  very urgent.

Product ID

Product Name

Description

Price

1

Tea

Tea

12

2

Coffee

Coffee 1

23

3

Juices

Orange Juice

5

4

Add New Row

Daniel
Telerik team
 answered on 17 Dec 2008
0 answers
94 views
Hai All,

        I am using fileupload inside Radgrid.I have several tabs in my page.but while using document upload page in the application,It is doing a postback.I would like to know about how to avoid this post back in my page.here is the code which i used in my application:

 


 aspx page:

 

<

telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" ClientEvents-OnRequestStart="conditionalPostback">

 

 

<

telerik:RadProgressManager ID="RadProgressManager1" runat="server" />

 

 

<telerik:RadGrid ID="RGDocuments"  >

 

 

<PagerStyle Mode="NextPrevAndNumeric" />

 

 

<MasterTableView Width="100%" CommandItemDisplay="Top" DataKeyNames="PKID,DocumentType,DocumentName,UploadedTime,DocumentExpiryDateFlag,DocumentExpiryDate">

 

 

<Columns>

 

<

telerik:GridTemplateColumn HeaderButtonType="TextButton" UniqueName="Upload" HeaderText="File Name">

 

 

 

 

<ItemTemplate>

 

 

 

 

<asp:Label runat="server" ID="lblFileName" Text='<%# Eval("FileName") %>' />

 

 

 

 

</ItemTemplate>

 

 

 

 

<EditItemTemplate>

 

 

 

 

<asp:FileUpload Width="400" BorderColor="AliceBlue" onclick="return Check()" ID="RadUpload1"

 

 

 

 

runat="server" />

 

 

 

 

</EditItemTemplate> 

 

 

 

</telerik:GridTemplateColumn>

 

</Columns>  

 

</MasterTableView>

 

 

</telerik:RadGrid>

aspx.cs Code

 

 

protected void RGDocuments_ItemDataBound(object sender, GridItemEventArgs e)

 

{

 

 

 

 

FileUpload upload = (FileUpload)e.Item.FindControl("RadUpload1");

 

 

 

RadAjaxPanel1.ResponseScripts.Add(

string.Format("window['UploadId'] = '{0}';", upload.ClientID));
 

}

 

sudheer
Top achievements
Rank 2
 asked on 17 Dec 2008
1 answer
66 views
Hello,

When the user navigates to the selected  date, the NavigationCommand/NavigationComplete events have the event definition of SchedulerNavigationCommand.NavigateToSelectedDate.  However, I see that when the user clicks on the selected date, the scheduler does not set the __EVENTARGUMENT field for this event, whereas it does for navigating the previous/next periods, switching views (like to week view)...

Why is that?

Thanks.
Peter
Telerik team
 answered on 17 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?