Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
78 views
I've got RadPanelBar with Items with navigateUrl property set. I want the click event on these items to go to the Click event in code-behind instead of navigating to the navigateUrl.

I tried defining a ClientItemClick function for the click event where I set the navigateUrl to null so that it can then go to the code-behind click event.
But it is not working.

Is there anything I can do with preventDefault or anything of that sort?

Thanks and Regards,
Noel
Kate
Telerik team
 answered on 20 Jun 2011
4 answers
227 views
The adjusted width of the RadNumericTextBox will not render correctly in Chrome.  I've tried everything I can think of with no luck.  I want to adjust the width of the control to approximately 50-60px. 

The problem appears to be the Spin Buttons.  If I set ShowSpinButtons="False", then set the control's Width="50px" it resizes just fine.

ASPX Page
<style>
         
        .RadInput_Default table
        {
            width: 50px  !important ;
        }
</style>
 
<div class="qty" style="width:50px;">
        <telerik:RadNumericTextBox ID="txtQty" runat="server"
         MinValue="1" Value="1" ShowSpinButtons="True" NumberFormat-DecimalDigits="0"></telerik:RadNumericTextBox>
         <div style="clear:both;"></div>
</div>

RENDERED HTML
<div class="qty" style="width:50px;">
 
        <!-- 2010.1.415.40 --><div id="txtQty_wrapper" class="RadInput RadInput_Default" style="width:125px;">
 
    <table cellpadding="0" cellspacing="0" class="riTable" style="border-width:0;border-collapse:collapse;width:100%;">
 
        <tr>
 
            <td class="riCell" style="width:100%;white-space:nowrap;"><input type="text" value="1" id="txtQty_text" name="txtQty_text" class="riTextBox riEnabled" style="width:100%;" /><input style="visibility:hidden;float:right;margin:-18px 0 0 -1px;width:1px;height:1px;overflow:hidden;border:0;padding:0;" id="txtQty" class="rdfd_" value="1" type="text" /><input style="visibility:hidden;float:right;margin:-18px 0 0 -1px;width:1px;height:1px;overflow:hidden;border:0;padding:0;" id="txtQty_Value" class="rdfd_" name="txtQty" value="1" type="text" /></td><td class="riSpin"><a class="riUp" href="javascript:void(0)" id="txtQty_SpinUpButton"><span>Spin Up</span></a><a class="riDown" href="javascript:void(0)" id="txtQty_SpinDownButton"><span>Spin Down</span></a></td>
 
        </tr>
 
    </table><input id="txtQty_ClientState" name="txtQty_ClientState" type="hidden" />
 
</div>
 
         <div style="clear:both;"></div>
 
    </div>


Shailendra
Top achievements
Rank 1
 answered on 20 Jun 2011
3 answers
40 views
I tried to follow "Edit On Double Click" Tutorial:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/editondblclick/defaultcs.aspx
Everything works quite well. Except that when I changed the GridTextBoxColumnEditor to Multirow mode, it won't be tracked change anymore, (If I make some editing into this multirow textbox, and then click outside, it won't popup "Update changes!", but it works once I change the GridTextBoxColumnEditor back to "SingleLine")

I opened the Demo Project (RadControlExamples that comes with the package), and change the textbox in this project to Multirow, it won't work either.

Please let me know if there is any workaround, Thanks.
Genti
Telerik team
 answered on 20 Jun 2011
4 answers
106 views
I have a rad grid and am using client side binding. In the grid is a GridButtonColumn whose ButtonType is set to "ImageButton".
When the page loads, there are no items in the grid, it is in a div that is hidden.
There is a button on the page that allows the user to add items, after which the grid is bound to those items.
After the 10th item is added, the rendering on the GridButtonColumn goes haywire.
The correctly rendered image button looks like: 
<input type="image" name="ctl00$PlaceHolderMain$CreateForm$DetailsGrid$ctl00$ctl14$gbcDeleteCommandColumn" id="ctl00_PlaceHolderMain_CreateForm_DetailsGrid_ctl00_ctl14_gbcDeleteCommandColumn" title="Delete" src="/WebResource.axd?d=GpOX6CklTui-WvsX3ntJX3ScZbvlRAVY8vywfIml9JItkz7GRkBph6JGqEfC9c79Y_0WJH4Nno_X46fOq0MjDPt_LMglkeRc-eqk2sIgYglxd1EFqxUP8l5AE_GCCW7O8haJNpYIJYTP71JNlw-cuq-QZUhJ-Wl0sZgdku0-h-F4-g8fvnFhBcx7J8a4kUhHArGx1g2&amp;amp;t=634419269737817546" alt="Delete" onclick="if(!confirm('Are you sure you want to delete this entry?'))return false;if(!$find('ctl00_PlaceHolderMain_CreateForm_DetailsGrid_ctl00').fireCommand('Delete','5')) return false;" style="border-width:0px;">

The incorrectly rendered image button looks like:
<input type="image" title="Delete" alt="Delete" src="" onclick="if(!$find('ctl00_PlaceHolderMain_CreateForm_DetailsGrid_ctl00').fireCommand('Delete','10')) return false;">

Here is the grid:
<telerik:RadGrid ID="DetailsGrid" runat="server"
    AllowMultiRowEdit="false"
    AllowPaging="false"
    AllowSorting="false"
    AutoGenerateColumns="false"
    EnableViewState="false"
    GridLines="None"
    Skin="Simple"
    Width="100%">
    <MasterTableView TableLayout="Fixed" ClientDataKeyNames="ID">
        <Columns>
            <telerik:GridBoundColumn UniqueName="Date" DataField="Date" HeaderText="Date" ReadOnly="true" HeaderStyle-Width="75px" ItemStyle-HorizontalAlign="Left" DataType="System.DateTime" DataFormatString="{0:MM/dd/yyyy}">
            </telerik:GridBoundColumn>                   
            <telerik:GridBoundColumn UniqueName="UserDisplayName" DataField="UserDisplayName" HeaderText="User" ReadOnly="true" HeaderStyle-Width="135px" ItemStyle-HorizontalAlign="Left">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Hours" DataField="Hours" HeaderText="Hours" HeaderStyle-Width="50px" ItemStyle-HorizontalAlign="Center">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Minutes" DataField="RemainderMinutes" HeaderText="Minutes" HeaderStyle-Width="60px" ItemStyle-HorizontalAlign="Center">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Description" DataField="Description" HeaderText="Description" ItemStyle-HorizontalAlign="Left">
            </telerik:GridBoundColumn>
            <telerik:GridButtonColumn UniqueName="DeleteCommandColumn"
                                        CommandName="Delete"
                                        ButtonType="ImageButton"
                                        ConfirmText="Are you sure you want to delete this entry?"
                                        ConfirmTitle="Delete Entry"
                                        Text="Delete"
                                        HeaderStyle-Width="30px"                                                                                                                       
                                        ItemStyle-HorizontalAlign="Center" >
            </telerik:GridButtonColumn>
        </Columns>
    </MasterTableView>
    <ClientSettings>
        <ClientEvents OnCommand="Stp.DetailsGrid_Command"></ClientEvents>
    </ClientSettings>
</telerik:RadGrid>         

This happens in both IE and Chrome.
Version 2011.1.315.35
Has anyone seen this before?
Chase Huber
Top achievements
Rank 1
 answered on 20 Jun 2011
2 answers
121 views
Hi
We have an aspx page with a usercontrol lying directly in the page and a tabstip with usercontrols dynamically loaded on each tab on demand.

Based on the save operation of user control inside a particular tab, we would like to refresh data in the user controls that direcly place in the aspx page.

But the problem is the evenhandler is always null inside the usercontrol in the tabstrip.

Are we using the right code to handle this?

Here is the code from ascx control residing inside a tab:
private System.EventHandler ButtonResSaveClicked; 
    
        public event EventHandler BtnResSaveClicked 
        
            add 
            { ButtonResSaveClicked += value; } 
            remove 
            { ButtonResSaveClicked -= value; } 
    
        
    
    
protected void btnSave_Click(object sender, EventArgs e) 
        
           //Perform save operation 
           if (ButtonResSaveClicked != null) 
                        
                            ButtonResSaveClicked(sender, e); 
                        
    
           }

Related code in aspx page:
ucFromTab.ButtonResSaveClicked+= ucInPage.RefreshData;



Any of your response will be of great help to me.
Me Mo
Top achievements
Rank 1
 answered on 20 Jun 2011
3 answers
116 views
Hi,

Is it possible to attach a context menu to a nested grid ? I currently have a radGrid with a nestedGrid and I use the following code to attach a menuContext

function RowContextMenu(sender, eventArgs) {
    var menu;
    var ownerTable = eventArgs.get_tableView();
 
    if (ownerTable.get_name() == "Grid") {
        menu = $find("<%=RadContextMenuUser.ClientID %>");
    }
    else if (ownerTable.get_name() == "NestedGrid") {
        menu = $find("<%=RadContextMenuUsersRole.ClientID %>");
    }

    var evt = eventArgs.get_domEvent();
 
    if (evt.target.tagName == "INPUT" || evt.target.tagName == "A") {
    return;
    }
 
    var index = eventArgs.get_itemIndexHierarchical();
    document.getElementById("radGridClickedRowIndex").value = index; 
    document.getElementById("radGridClickedTableId").value = ownerTable._data.UniqueID;
 
    sender.get_masterTableView().selectItem(sender.get_masterTableView().get_dataItems()[index].get_element(), true);

For the "parent" grid, it works really great, but it doesn't work for the nestedGrid. In fact, I have the following error : 
Cannot call method 'get_element' of undefined.  

So, anyone may help me please ?

David
Top achievements
Rank 1
 answered on 20 Jun 2011
2 answers
106 views
Example:

<a href="/test.pdf" target="_self">test1<br />
</a>
<a href="/test2.pdf" target="_self">test2<br />
</a>

Clicking on the hyperlink manager for "test2" and changing an attribute on it like tooltip or link then when clicking ok in the dial of the hyperlink is removed from test 1?

This only happens when the link has a BR in it.

Unfort. its not as easy as to say to users not to put BRs in as all you have to do is type two lines of text and highlight one and convert to a hyperlink and it encapulates the BR ( In design view ) so its very easy for the end user to produce this html not knowingly.

I have just tried this on the telerik demo site and it does the same?

-Appreciate some Help please?

Many thanks,
Jason
Dobromir
Telerik team
 answered on 20 Jun 2011
1 answer
75 views
Hi,

I've been developing and/or supervising development of .NET Web applications using r.a.d. Controls for ASP.NET AJAX for quite some time now and this is the first time ever I post a thread in this forum.

I'm the technical owner of a VB.NET 3.5 Web application developed some two years ago using release 2008.03.1314 of r.a.d. Controls for ASP.NET AJAX. I guess shortcuts followed then (the code is not so good...) are finally catching up, as they usually do, and users of the application are now encountering a quite peculiar problem.

In short, there is this RadGrid control within a user defined control embedded within a RadMultiPage control and whose visibility is toggled through a RadTabStrip control; rows within the RadGrid are managed through an ItemTemplate element and, especially, an image is available for each row in the grid, the image being retrieved from a database and generated dynamically through a typical call to a .NET page that returns a binary output stream (GridImageColumn column type was not available back then): something like ImageUrl='<%# "ViewImage.aspx?ImageID=" & Eval("ImageID").ToString()%>'... Well, it appears that everything works fine for as long as there is at most 7 rows per grid pages (users can set page size at will), not one more: more than that RadTabStrip, RadMultiPage, and RadGrid controls become unresponsive and any user action results in a complete page refresh, nothing more. On the other hand, if I change the code and force the same image to be reused over and over again, say, ImageUrl='<%# "ViewImage.aspx?ImageID=3"%>'things work as expected no matter what the grid page size is. I know this sounds strange but after hours of narrowing the problem down, it all comes down to this!

I could send the complete code but it is quite large and, quite frankly, I'm not sure how it would help. However, f it can be of any help, the RadGrid control is configured as follows:

<telerik:RadGrid ID="rgDirigeant" runat="server"
    AllowFilteringByColumn="False"
    AllowPaging="True"
    AllowSorting="False"
    AutoGenerateColumns="True"
    EnableLinqExpressions="False"
    HorizontalAlign="Center"
    ShowFooter="True"
    ShowHeader="False"
    ShowStatusBar="True"
    Skin="WebBlue"
    Visible="False"
    Width="100%"
    PageSize="10">
    <ClientSettings EnableRowHoverStyle="True">
        <ClientEvents OnPopUpShowing="PopUpShowing" />
        <Selecting AllowRowSelect="False" />
    </ClientSettings>
    <GroupingSettings CaseSensitive="False" />
    <SortingSettings SortToolTip="<%$ Resources:myRadGrid, SortToolTip%>" SortedAscToolTip="<%$ Resources:myRadGrid, SortedAscToolTip%>" SortedDescToolTip="<%$ Resources:myRadGrid, SortedDescToolTip%>" />
    <FilterMenu enableajaxskinrendering="False">
        <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
    </FilterMenu>
    <HeaderContextMenu>
        <CollapseAnimation Duration="200" Type="OutQuint" />
    </HeaderContextMenu>
    <MasterTableView
        CommandItemDisplay="Top"
        DataKeyNames="IDDirigeant"
        EditMode="PopUp"
        NoMasterRecordsText="<%$ Resources:myRadGrid, NoMasterRecordsText%>">
        <CommandItemSettings AddNewRecordText="<%$ Resources:myRadGrid, Add %>" RefreshText="<%$ Resources:myRadGrid, Refresh %>" />
        <ItemTemplate>
            <table border="0">
                <asp:TableRow ID="Tablerow1" runat="server">
                    <asp:TableCell ID="Tablecell1" runat="server" BorderWidth="0" VerticalAlign="Top">
                        <asp:Label ID="lblTitre" runat="server" SkinID="titleLabel" meta:resourcekey="lblTitre" />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell2" runat="server" BorderWidth="0" VerticalAlign="Top">
                        <%If Me.CodeTypeDirigeant = Globals.CodeHauteDirection Or Me.CodeTypeDirigeant = Globals.CodeAdministrator Then%>
                        <telerik:RadTextBox ID="lblTitreTxt" runat="server" Skin="WebBlue" Width="200px" ReadOnly="true" Text='<%# Bind("NomTitreDirigeant") %>' />
                        <%Else%>
                        <telerik:RadTextBox ID="lblDepartTxt" runat="server" Skin="WebBlue" Width="200px" ReadOnly="true" Text='<%# Bind("NomDepartement") %>' />
                        <%End If%>
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell3" runat="server" BorderWidth="0" VerticalAlign="Top">
                        <asp:Label ID="lblTitreExact" runat="server" SkinID="titleLabel" meta:resourcekey="lblTitreExact" />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell4" runat="server" BorderWidth="0" VerticalAlign="Top">
                        <telerik:RadTextBox ID="lblTitreExacttxt" runat="server" Skin="WebBlue" Width="200px" TextMode="MultiLine" Rows="3" Height="48px" ReadOnly="true" Text='<%# Bind("TitreDirigeantExact")%>' />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell5" RowSpan="8" runat="server" BorderWidth="0" VerticalAlign="Top">
                            <asp:Image ID="_photo" runat="server" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px" GenerateEmptyAlternateText="True"
                                ImageAlign="Top" ImageUrl='<%# "ViewImage.aspx?ImageID=" & Eval("ImageID").ToString()%>' Width="100px" />
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow ID="Tablerow2" runat="server">
                    <asp:TableCell ID="Tablecell6" runat="server" BorderWidth="0">
                        <asp:Label ID="lblPrenom" runat="server" SkinID="titleLabel" meta:resourcekey="lblPrenom" />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell7" runat="server" BorderWidth="0">
                        <telerik:RadTextBox ID="lblPrenomtxt" runat="server" Skin="WebBlue" Width="200px" ReadOnly="true" Text='<%# Eval("Prenom") %>' />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell8" runat="server" BorderWidth="0">
                        <asp:Label ID="lblNom" runat="server" SkinID="titleLabel" meta:resourcekey="lblNom" />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell9" runat="server" BorderWidth="0">
                        <telerik:RadTextBox ID="lblNomtxt" runat="server" Skin="WebBlue" Width="200px" ReadOnly="true" Text='<%# Eval("Nom") %>' />
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow ID="Tablerow3" runat="server">
                    <asp:TableCell ID="Tablecell10" runat="server" BorderWidth="0">
                        <asp:Label ID="lblSexe" runat="server" SkinID="titleLabel" meta:resourcekey="lblSexe" />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell11" runat="server" BorderWidth="0">
                        <telerik:RadTextBox ID="lblSexeTxt" runat="server" Skin="WebBlue" Width="200px" ReadOnly="true" Text='<%# Bind("NomSexe") %>' />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell12" runat="server" BorderWidth="0">
                        <asp:Label ID="lblLangue" runat="server" SkinID="titleLabel" meta:resourcekey="lblLangue" />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell13" runat="server" BorderWidth="0">
                        <telerik:RadTextBox ID="lblLngtxt" runat="server" Skin="WebBlue" Width="200px" ReadOnly="true" Text='<%# Bind("NomLangue") %>' />
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow ID="Tablerow4" runat="server" VerticalAlign="Top">
                    <asp:TableCell ID="Tablecell14" runat="server" BorderWidth="0">
                        <asp:Label ID="lblTelephone" runat="server" SkinID="titleLabel" meta:resourcekey="lblTelephone" />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell15" runat="server" BorderWidth="0">
                        <telerik:RadTextBox ID="lblTelephonetxt" runat="server" Skin="WebBlue" Width="200px" ReadOnly="true" Text='<%# Bind("Telephone") %>' />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell16" runat="server" BorderWidth="0">
                        <asp:Label ID="lblDateNaissance" runat="server" SkinID="titleLabel" meta:resourcekey="lblDateNaissance" />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell17" runat="server" BorderWidth="0">
                        <telerik:RadTextBox ID="lblNaissancetxt" runat="server" Skin="WebBlue" Width="200px" ReadOnly="true" Text='<%# Bind("DateNaissance", "{0:yyyy/MM/dd}") %>' />
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow ID="Tablerow5" runat="server">
                    <asp:TableCell ID="Tablecell18" runat="server" BorderWidth="0" VerticalAlign="Top">
                        <asp:Label ID="lblTelecopieur" runat="server" SkinID="titleLabel" meta:resourcekey="lblTelecopieur" />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell19" runat="server" BorderWidth="0" VerticalAlign="Top">
                        <telerik:RadTextBox ID="lbltelecopieurtxt" runat="server" Skin="WebBlue" Width="200px" ReadOnly="true" Text='<%# Bind("Telecopieur") %>' />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell20" runat="server" BorderWidth="0" VerticalAlign="Top">
                        <asp:Label ID="lblCourriel" runat="server" SkinID="titleLabel" meta:resourcekey="lblCourriel" />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell21" runat="server" BorderWidth="0" VerticalAlign="Top">
                        <asp:HyperLink ID="hlCourriel" runat="server" Height="32px" Width="200px" Text='<%# Bind("Courriel") %>'></asp:HyperLink>
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow ID="Tablerow9" runat="server">
                    <asp:TableCell ID="Tablecell38" runat="server" BorderWidth="0">
                        <asp:Label ID="lblSalaireAnnuel" runat="server" SkinID="titleLabel" meta:resourcekey="lblSalaireAnnuel" />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell39" runat="server" BorderWidth="0">
                        <telerik:RadTextBox ID="_salaireAnnTxt" runat="server" Skin="WebBlue" Width="200px" ReadOnly="true" Text='<%# Bind("SalaireAnnuelLocal", "{0:### ### ### ##0}") %>' ReadOnlyStyle-HorizontalAlign="Right" />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell40" runat="server" BorderWidth="0">
                        <asp:Label ID="lblPrimeAnnuelle" runat="server" SkinID="titleLabel" meta:resourcekey="lblPrimeAnnuelle" />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell41" runat="server" BorderWidth="0">
                        <telerik:RadTextBox ID="_primeTxt" runat="server" Skin="WebBlue" Width="200px" ReadOnly="true" Text='<%# Bind("PrimeAnnuelleLocal", "{0:### ### ### ##0}") %>' ReadOnlyStyle-HorizontalAlign="Right" />
                    </asp:TableCell>
                </asp:TableRow>
                <% If Me.CodeTypeDirigeant = Globals.CodeAdministrator Then%>
                <asp:TableRow ID="Tablerow6" runat="server">
                    <asp:TableCell ID="Tablecell23" runat="server" BorderWidth="0" VerticalAlign="Top">
                        <asp:Label ID="lblResponsabilite" runat="server" SkinID="titleLabel" meta:resourcekey="lblResponsabilite" />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell24" runat="server" BorderWidth="0" ColumnSpan="3">
                        <telerik:RadTextBox ID="lblResptxt" runat="server" Text='<%# Bind("Responsabilite") %>'
                            TextMode="MultiLine" ReadOnly="true" Width="100%" Rows="3" Height="48px" />
                    </asp:TableCell>
                </asp:TableRow>
                <% End If%>
                <asp:TableRow ID="Tablerow7" runat="server" VerticalAlign="Top">
                    <asp:TableCell ID="Tablecell29" runat="server" BorderWidth="0" VerticalAlign="Top">
                        <asp:Label ID="lblCV" runat="server" SkinID="titleLabel" meta:resourcekey="lblCV" />
                    </asp:TableCell>
                    <asp:TableCell ID="Tablecell30" runat="server" BorderWidth="0" ColumnSpan="3">
                        <asp:HyperLink ID="lbCV" runat="server" ToolTip='<%# Bind("IDCurriculumVitae") %>' />
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow ID="Tablerow8" runat="server">
                    <asp:TableCell ID="Tablecell36" runat="server" BorderWidth="0" ColumnSpan="5" HorizontalAlign="Right">
                        <asp:Button ID="btnUpdate" Text="<%$ Resources:myRadGrid, Update %>" runat="server"
                            CommandName="Edit" SkinID="mybutton" Visible="<%# IsEditable %>" />
                          
                        <asp:Button ID="btnDelete" Text="<%$ Resources:myRadGrid, Delete %>" runat="server"
                            CommandName="Delete" SkinID="mybutton" OnClientClick="return Confirm();" Visible="<%# IsEditable %>" />
                    </asp:TableCell>
                </asp:TableRow>
            </table>
        </ItemTemplate>
        <EditFormSettings
            EditFormType="WebUserControl"
            PopUpSettings-Modal="True"
            UserControlName="~/Compagnie/Personne.ascx">
            <EditColumn UniqueName="EditCommandColumn1">
            </EditColumn>
            <PopUpSettings Height="465px" Width="930px" />
        </EditFormSettings>
    </MasterTableView>
    <PagerStyle AlwaysVisible="true"
        Mode="NextPrevNumericAndAdvanced"
        NextPagesToolTip="<%$ Resources:myRadGrid, PagesNext %>"
        NextPageToolTip="<%$ Resources:myRadGrid, PageNext %>"
        PagerTextFormat="<%$ Resources:myRadGrid, PagerText %>"
        PrevPagesToolTip="<%$ Resources:myRadGrid, PagesPrev %>"
        PrevPageToolTip="<%$ Resources:myRadGrid, PagePrev %>"
        Wrap="False" />
    <StatusBarSettings LoadingText="<%$ Resources:myRadGrid, statusbarLoadingText %>" ReadyText="<%$ Resources:myRadGrid, statusbarReadyText %>" />
</telerik:RadGrid>

To tell the truth, I'm not sure the problem is even directly due to r.a.d. controls but since they are all over the place, I figured it wouldn't hurt posting this thread in this forum. Note that I'm not considering this problem as a Telerik bug at this point: I'm actually more interested in pointers and insights. Has anyone encountered similar problems? Does my description ring any bells? Am I missing something here? And please, do not recommend the obvious such as refactoring the code or upgrading the r.a.d. Controls for ASP.NET AJAX library: I'm on tight budget and time constraints here. Again, I want to know what's going on!

If anybody wants more information, I will be happy to collaborate.

Thanks in advance.

AL
Tsvetina
Telerik team
 answered on 20 Jun 2011
3 answers
156 views
Hi,

We are facing with the GDI+ exception and suspect that it is gettnig throwed from Telerik DLL. We have engaged MS and they told us that using System.Drawing.ToolboxBitmapAttribute will throw that exception. I just want to know if Telerik is using the System.Drawing.ToolboxBitmapAttribute DLL.
Svetlina Anati
Telerik team
 answered on 20 Jun 2011
5 answers
164 views
Hi ,
       I had a RadWindowManager and Radwindow in a Masterpage.I used to open Radwindow where ever
       i needed using below script.

    function OpenRadWindow() {
            var parentWindow = radopen("MyPage.aspx", "rwTest");
            parentWindow.setSize(400, 160);
            parentWindow.SetTitle("Test RadWindow");
            return false;
        }

and this is my design.

 <telerik:RadWindowManager ID="RadWindowManager1" Style="z-index: 10000" runat="server"
            VisibleStatusbar="false" Modal="true"  Behaviors="Close,Move"
            ShowContentDuringLoad="false">
            <Windows>
                <telerik:RadWindow ID="rwTest" runat="server" VisibleTitlebar="true" VisibleStatusbar="false">
                </telerik:RadWindow>
            </Windows>
  </telerik:RadWindowManager>

I have used the  setSize(400, 160) to set the size.My problem is  RadWindow is opened in different sizes
in different browsers.Only in IE8 i can set the width and height correctly.In other browsers size differs.
I have also tried set_width and set_height,but of no use.Can anyone help me how to set size of Radwindow
same among all  browsers.

Also can any one tell me how to set image for RadWindow from clientside,because im using same Radwindow
for my all needs and i cannot set ImageUrl for RadWindow itself.I have referred the below url

http://www.telerik.com/help/aspnet-ajax/window-programming-radwindow-methods.html

and in that i cannot find a way to setimageurl by using something like parentWindow.SetImageUrl("Image.png");
Please help me....


Regards and Thanks,
Titti Skaria.







Marin Bratanov
Telerik team
 answered on 20 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?