Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
100 views
Hi,

I am using self-referencing hierarchy grid on aspx page. I have added one  method 

OnRowContextMenu client side event. Now when user right click on

 

 any data row i am unable to check whether user has selected some row in grid or not in client side code. I also want to select some row using client side code in self-referencing hierarchy grid.

Your help would be appriciable.

Regards
Amit

Sebastian
Telerik team
 answered on 04 Sep 2009
5 answers
159 views
Hi, I've created a rad window to use as a modal pop up to stop the user from clicking on controls until some processing has finished. It works as expected in Internet Explorer 7, But in Firefox 3.5.2 the target page isn't rendered. The modal window shows up, but without any content. Also, in Google Chrome 2.0.172.43 the modal window doesn't even show except for a white rectangle with no skinning or content. This is how I'm creating the modal window.

<script type="text/javascript">
function ShowProcessingDialog(){
window.radopen("ProcessingPage.aspx", "modalWindow");
}
function ShowAnotherProcessingDialog(){
window.radopen("AnotherProcessingPage.aspx", "modalWindow");
}
</script>

<telerik:RadWindowManager ID="RadWindowManager1" runat="server">
            <Windows>
                <telerik:RadWindow ID="modalWindow" runat="server" Behaviors="None" Height="115px"
                    Width="450px" InitialBehaviors="None" Modal="true" VisibleStatusbar="false" VisibleTitlebar="false" 
    Skin="Office2007">
         </telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>

    <table align="center">
        <tr>
            <td align="left">
                <asp:Button ID="btnProcess1" runat="server" Text="Process" UseSubmitBehavior="true"
                    CssClass="button" OnClick="ProcessSomething" OnClientClick="javascript:return ShowProcessingDialog();" />
            </td>
            <td align="left">
                <asp:Button ID="btnProcess2" runat="server" Text="Process Again" UseSubmitBehavior="true"
                    CssClass="button" OnClick="ProcessSomethingElse" OnClientClick="javascript:return ShowAnotherProcessingDialog();" />
            </td>
        </tr>
    </table>

Any help would be greatly appreciated.
Georgi Tunev
Telerik team
 answered on 04 Sep 2009
1 answer
88 views
Hi All
is there any chance to set DropDownWidth on maximum item width size? i tried to set it OnItemDataBound event where i measure string using GDI library but the FontInfo of combobox is not set, i mean values (like font name or size) are empty, and it measure with default Font settings, maybe is there simplest way to do it?
thanks
Veselin Vasilev
Telerik team
 answered on 04 Sep 2009
5 answers
156 views
When following the RadEditor as a Text demo (http://demos.telerik.com/aspnet-ajax/editor/examples/editorastextbox/defaultcs.aspx) I notice a peculiar 'bug'.

Load the page.
Click on the area inside the blue border (the Resume Field).
The blue border at the bottom disappears and doesn't reappear.

Is there a work-around for this?

I'm running IE8.0.6001.18702CO.
Rumen
Telerik team
 answered on 04 Sep 2009
1 answer
170 views
Hi,

When trying to save a RadBinaryImage the "Save as" dialog box always show "Telerik_Web_UI_..." . Is there anyway i can set some string which will be the name assigned to the image as default during save?

Thanks
Debasish.
Sebastian
Telerik team
 answered on 04 Sep 2009
3 answers
105 views
I don't think you can do this, but I just want to check.  It would be a cool feature if we good.  Right now, I think the only way to populate a RadWindow is with a url to another page.

For a lot of my pages is is a pain in the neck.  I'll explain why.  I have several pages with RadGrids.  The RadGrids have checkboxes to selected the rows.  After selecting the rows, the user can click a "Delete" button to delete the selected rows.  When they click it, I want to display a RadWindow with a confirmation and a list of items they are going to be deleting.

The problem is that the way the RadWindow is designed, I need to supply it with a URL to "delete" page, and pass the selected ids and other information via a query string.  This is a problem since the query string has a limited length.

Another way I devised to accomplish this using javascript and ajax to get the info onto the page that has the popup, but it's ugly and is prone to errors.

A better way would be to allow for something like this on the base page.

<RadWindow>
  <asp:Panel>
 other controls
</asp:Panel>
</RadWindow>

Then when some click the delete button, I would get a post back. The grid viewstate will have all the info I need and I can use that to populate the stuff in the RadWindow.  I could then display the RadWindow and all events will go to the base page.

This would be so cool if we could figure out a way to do it.
Georgi Tunev
Telerik team
 answered on 04 Sep 2009
2 answers
129 views
Radgrid Gurus,

I am evaluating RadGrid and am trying to AJAXify my Radgrid
Based on the link below I have tried to AJAXify my Radgrid but with limited success
http://www.telerik.com/help/aspnet-ajax/grdmigrationtoprometheus.html

When I tested it (Ex Sorted a column) it did do a postback. Please advise me where I am wrong 
Below is the code from ASPX page

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebGridEval.WebForm1" %>" %>  

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<asp:Content ID="Content2" ContentPlaceHolderID="cphContent" Runat="Server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</telerik:RadScriptManager>
    <!--Start Content Right-->  
        <table id="tblResults" runat="server" width="100%">
                 <br />
                 <telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="True"
                     GridLines="None" AllowMultiRowEdit="True" AllowMultiRowSelection="True"
                     AutoGenerateColumns="False" AutoGenerateEditColumn="True" AllowPaging="True"
                AllowCustomPaging="True" PageSize="25" EnableAJAX="true"
                     onupdatecommand="RadGrid1_UpdateCommand">
                     <MasterTableView EditMode="InPlace" DataKeyNames="UniqueId">
                         <Columns>
                             <telerik:GridBoundColumn DataField="ContractNo"
                                 HeaderText="Contract Number" UniqueName="ContractNo" AutoPostBackOnFilter="true" >
                                 <FooterStyle Font-Bold="True" />
                                 <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                     Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center"
                                     Wrap="True" />
                                 <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                     Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center"
                                     Wrap="True" />
                             </telerik:GridBoundColumn>
                             <telerik:GridHyperLinkColumn DataNavigateUrlFields="UniqueId,RevisionNo"
                                 DataNavigateUrlFormatString="~/UpdateDetail.aspx?MaterialID={0}&amp;RevisionNo={1}&amp;"
                                 DataTextField="UniqueId" HeaderText="Material ID" UniqueName="UniqueId" AutoPostBackOnFilter="true">
                                 <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                     Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center"
                                     Wrap="True" />
                                 <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                     Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center"
                                     Wrap="True" />
                             </telerik:GridHyperLinkColumn>
                         </Columns>
                     </MasterTableView>
                 </telerik:RadGrid>
                 <br />
        </table>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
             <AjaxSettings>
                 <telerik:AjaxSetting AjaxControlID="gvrgPendingWorkflow">
                     <UpdatedControls>
                         <telerik:AjaxUpdatedControl ControlID="gvrgPendingWorkflow" LoadingPanelID=""/>
                     </UpdatedControls>
                 </telerik:AjaxSetting>
             </AjaxSettings>
         </telerik:RadAjaxManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
         <div id="ContentRight" runat="server"></div>      
     <hr align="left" />   
 
        <asp:Label ID="lblGoTo" CssClass="goto" runat="server" Text="Go To:"></asp:Label>
</asp:Content>


Regards,
Kaushik
Kaushik Subramanya
Top achievements
Rank 1
 answered on 04 Sep 2009
2 answers
135 views
Hello,

I change a value in a RadTextBox on a client, and it's not propagating to the server.  I have a RadTextBox in a ListView.  The values get submitted in bulk to the server via button click, but I don't use the button click directly.  Instead, I'm calling __doPostBack(button.name, "<command>"); and the issue is when I use this approach, changes aren't making there way back to the server, either via:

RTB.SelectedDate
RTB.DateInput.SelectedDate

It's all null.  Why would that be?  I'm using 2008.3.1125.35.

Thanks.
Martin
Telerik team
 answered on 04 Sep 2009
5 answers
97 views
Hi
I have downloaded the demo version of the RadControls for ASP.NET

When i install it, i get an error message as follows :

This Installation package could not be opened. Contact the application vendor to verify that this is a valid windows installer package

I have downloaded it twice already to check if the download had a problem but I have received this error on both occasions.

Kind Regards.
D.Kruger
Erjan Gavalji
Telerik team
 answered on 04 Sep 2009
4 answers
169 views
Hello All,

I've a question about getting data from a database with a listbox.
I have a listbox with 5 items and a submit button. When I select one item and submit it returns the correct value.
When I select two items and submit it only returns the values of the first item.

Could you please tell me how to change this or where I find more information about this.

Thanks!

Paul
paul
Top achievements
Rank 1
 answered on 04 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?