Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
270 views
In my RadGrid I have a master table and a detail table. I need the first column of the detail table to display an image that rowspans the entire detail table. The url of the image to be displayed is a datakeyvalue from the mastertable row.

So, if the detail table has 2 records, the image will rowspan 2 rows; if the detail table has 10 records, the image will rowspan all 10 records. 

I've seen some code for setting a rowspan in a master table, but I can't seem to get it work for a detail table. 

Any help would be greatly appreciated!
Yavor
Telerik team
 answered on 06 Jan 2010
4 answers
334 views
<telerik:RadGrid ID="gvLeadsHistory" runat="server" CssClass="radgrid" AllowPaging="True" 
                                EnableEmbeddedSkins="false" ShowFooter="false" AutoGenerateColumns="False" GridLines="None" 
                                AllowSorting="True" Width="450px" AllowMultiRowSelection="true" OnItemDataBound="gvLeadsHistory_ItemDataBound" 
                                OnSortCommand="gvLeadsHistory_SortCommand">  
                                <MasterTableView CssClass="radgridMasterTable" AllowCustomSorting="true" Width="100%" 
                                    ShowHeadersWhenNoRecords="true" TableLayout="Fixed" ClientDataKeyNames="lead_id">  
                                    <NoRecordsTemplate> 
                                        <div style="padding: 5px 0px 5px 0px; text-align: center; height: 20px; font-family: Verdana, Arial, Helvetica, sans-serif;  
                                            font-size: 1.1em; font-weight: bold;"> 
                                            No Lead History Records.</div> 
                                    </NoRecordsTemplate> 
                                    <HeaderStyle CssClass="radgridheader" VerticalAlign="Middle" /> 
                                    <Columns> 
                                        <telerik:GridBoundColumn UniqueName="Date" HeaderText="Date" AllowSorting="true" 
                                            DataField="Activity_Date" HeaderStyle-Width="70" SortExpression="Activity_Date" 
                                            ShowSortIcon="true" SortAscImageUrl="../Images/icons/arrow_down.gif" SortDescImageUrl="../Images/icons/arrow_up.gif">  
                                        </telerik:GridBoundColumn> 
                                        <telerik:GridBoundColumn UniqueName="Type" HeaderText="Type" DataField="Activity_Type" 
                                            HeaderStyle-Width="90" SortExpression="Activity_Type" ShowSortIcon="true" SortAscImageUrl="../Images/icons/arrow_down.gif" 
                                            SortDescImageUrl="../Images/icons/arrow_up.gif">  
                                        </telerik:GridBoundColumn> 
                                        <telerik:GridBoundColumn UniqueName="Description" HeaderText="Description" DataField="Activity_Description" 
                                            HeaderStyle-Width="200" AllowSorting="false">  
                                        </telerik:GridBoundColumn> 
                                        <telerik:GridTemplateColumn HeaderStyle-VerticalAlign="Middle" UniqueName="TypeOfLead" 
                                            HeaderText="Action" ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="40">  
                                            <ItemTemplate> 
                                                <asp:LinkButton ID="imgbActivityEdit" runat="server" ImageUrl="../Images/icons/icon_edit.gif" 
                                                    ToolTip="Edit" OnCommand="gvActivity_RowEditing" CommandArgument='<%# Eval("[Activity_Id]") %>'>  
                                                    <img src="../Images/icons/icon_edit.gif" alt="Edit"/></asp:LinkButton> 
                                                <asp:LinkButton ID="imgbActivityDelete" runat="server" ImageUrl="../Images/icons/icon_delete.gif" 
                                                    ToolTip="Delete" OnCommand="ActivityDelete_Click" CommandArgument='<%# Eval("[Activity_Id]") %>'>  
                                                    <img src="../Images/icons/icon_delete.gif" alt="Delete"/></asp:LinkButton> 
                                                <asp:Label ID="lblActivityId" runat="server" Text='<%# Eval("[Activity_Id]") %>' 
                                                    Visible="False"></asp:Label> 
                                                <asp:Label ID="lblActivityType" runat="server" Text='<%# Eval("[Activity_Type]") %>' 
                                                    Visible="False"></asp:Label> 
                                            </ItemTemplate> 
                                        </telerik:GridTemplateColumn> 
                                    </Columns> 
                                </MasterTableView> 
                            </telerik:RadGrid> 
hi please find attached the model of my rad grid, here im having Norecorf template, but since im having grid item template, that two images are still displaying, if the record set have no records, instead of showing "No records"
please help.
Saran kumar
Top achievements
Rank 1
 answered on 06 Jan 2010
1 answer
86 views
Hi,

I purchased the RadControls for ASP.net AJAX, and implemented version 5.5.1 of the RadEditor for SharePoint (I'm using MOSS - in particular - a Publishing Site) in my environment, and it works.  Where I am having an issue is with a few of my page layouts, where I have anywhere from 12-17 content areas.  When switching into page editing mode, the pages take anywhere from 20-30 seconds to load, and the browser will hang during this load time.  I've implemented a lot of the recommendations from the KB Article:

In my Config file:
  <property name="ToolbarMode">ShowOnFocus</property>
  <property name="EnableServerSideRendering">False</property>
  <property name="EnableViewState">False</property>
  <property name="EnableClientSerialize">False</property>
  <property name="EnableDocking">False</property>

And in my tools file, I have removed the one module that was loading.

So my question is - is there anything else I can do to speed this up?  I looked at using the Tool Provider (From this page), but that's not supported by the Editor for SharePoint.

Thanks,
Chris
Stanimir
Telerik team
 answered on 06 Jan 2010
1 answer
151 views
Hello there,
I have a RadListView inside a RadListView both with a RadDataPager inside the layout template something like this:

<telerik:RadListView ID="ListView1"> 
  <LayoutTemplate> 
    ............... 
    <telerik:RadDataPager ID="DataPager1" PagedControlID="ListView1"></telerik:RadDataPager> 
  </LayoutTemplate> 
  <ItemTemplate> 
    ....................... 
    <telerik:RadListView ID="ListView2"> 
      <LayoutTemplate> 
          ...................... 
          <telerik:RadDataPager ID="DataPager2" PagedControlID="ListView2"></telerik:RadDataPager> 
      </LayoutTemplate> 
    </telerik:RadListView> 
  <ItemTemplate> 
<telerik:RadListView> 


You can see what i mean here Image

All works fine without ajax, now i want to ajaxify the internal listview and their datapager so i added this:

   
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"> 
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="DataPager2"> 
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="ListView2" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManagerProxy> 


(I have a master page)

Again the first item of Listview1 is working fine  (the first datapage you see in the picture) i can change page of listview2 inside it without any page reload BUT when i click on the datapager in the second item of the listview1 i have a page reload and the datapager of the upper listview resets... it's like the second datapager isn't ajaxified.

I tried also with updatepanel and radajaxpanel to see if it works but i had no success.

I hope the explanation was clear enough, if not just ask.

Waiting for some help, thanks in advance for your time.
Yavor
Telerik team
 answered on 06 Jan 2010
1 answer
195 views
Hi All;

Can any one tell me how to set the position of "OK" button in red-alert because whats happening with me is that the text that i'm showing in rad-alert is little bit big so because of that i'm changing the width of rad-alert according to it, ideally what should happen is rad-alert should change the position of "OK" button according to the set width but thats what not happening.

Attached image shows what i'm talking about.

Regards;

Zeeshan Ahmed Khan
Georgi Tunev
Telerik team
 answered on 06 Jan 2010
7 answers
310 views
Hi,

  1. I used to have Visual Studio.Net 2008 on my laptop but had to remove it.  Will the radControls install in Visual Web Developer Express?
  2. I just installed RadControls for ASP.NET AJAX in the free version Visual Web Developer Express on my laptop.  I don't see the radControls in the toolbox.  How do I get them to display? 
  3. I wanted to download RadControls for ASP.NET, but I did not see that download.  Is it still available and is that the one I should use instead of AJAX radControls? 

Thanks!

robynne
Top achievements
Rank 1
 answered on 06 Jan 2010
0 answers
156 views
Hi All;

There are many entries in the event log like the one below, what is wrong? please advice
==================
Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 1/6/2010 8:00:29 AM 
Event time (UTC): 1/6/2010 4:00:29 AM 
Event ID: dc10f277ce014734b8c419475a25ac4b 
Event sequence: 1255 
Event occurrence: 6 
Event detail code: 0 
 
Application information: 
    Application domain: /LM/W3SVC/1/ROOT-1-129072197565763438 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: D:\Web\ 
    Machine name: SAD01001
 
Process information: 
    Process ID: 200 
    Process name: w3wp.exe 
    Account name: NT AUTHORITY\NETWORK SERVICE 
 
Exception information: 
    Exception type: NotSupportedException 
    Exception message: Assembly "AjaxControlToolkit, Version=3.0.20820.16598, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" does not contain a script with hash code "9e      <tbody>                        <tr>                            <td valign=". 
 
Request information: 
    Request URL: http://website.local/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl01_ScriptManager_HiddenField&compress=1&_TSM_CombinedScripts_=1/6/2010 8:00:29 AMb1/6/2010 8:00:29 AMbSystem.Web.ExtensionsAn unhandled exception has occurred.c+Version1/6/2010 8:00:29 AMd3.5.0.0An unhandled exception has occurred.c+Culture1/6/2010 8:00:29 AMdneutralAn unhandled exception has occurred.c+PublicKeyToken1/6/2010 8:00:29 AMd31bf3856ad364e351/6/2010 8:00:29 AMaar-AE1/6/2010 8:00:29 AMa3bbfe379-348b-450d-86a7-bb22e53c19781/6/2010 8:00:29 AMa52817a7d1/6/2010 8:00:29 AMa67c678a81/6/2010 8:00:29 AMbTelerik.Web.UIAn unhandled exception has occurred.c+Version1/6/2010 8:00:29 AMd2008.3.1125.35An unhandled exception has occurred.c+Culture1/6/2010 8:00:29 AMdneutralAn unhandled exception has occurred.c+PublicKeyToken1/6/2010 8:00:29 AMd121fae78165ba3d41/6/2010 8:00:29 AMaar-AE1/6/2010 8:00:29 AMafd794f69-50b6-4e80-a52c-60fb1a05429c1/6/2010 8:00:29 AMa393f50851/6/2010 8:00:29 AMa34f9d57d1/6/2010 8:00:29 AMaa97230481/6/2010 8:00:29 AMaa3f85c941/6/2010 8:00:29 AMa39249aa41/6/2010 8:00:29 AMac6335cbd1/6/2010 8:00:29 AMbAjaxControlToolkitAn unhandled exception has occurred.c+Version1/6/2010 8:00:29 AMd3.0.20820.16598An unhandled exception has occurred.c+Culture1/6/2010 8:00:29 AMdneutralAn unhandled exception has occurred.c+PublicKeyToken1/6/2010 8:00:29 AMd28f01b0e84b6d53e1/6/2010 8:00:29 AMaar-AE1/6/2010 8:00:29 AMa707835dd-fa4b-41d1-89e7-6df5d518ffb51/6/2010 8:00:29 AMae2e86ef91/6/2010 8:00:29 AMa9ehttp://elms.dma.gov.local/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl01_ScriptManager_HiddenField&compress=1&_TSM_CombinedScripts_=1/6/2010 8:00:29 AMb1/6/2010 8:00:29 AMbSystem.Web.ExtensionsAn unhandled exception has occurred.c+Version1/6/2010 8:00:29 AMd3.5.0.0An unhandled exception has occurred.c+Culture1/6/2010 8:00:29 AMdneutralAn unhandled exception has occurred.c+PublicKeyToken1/6/2010 8:00:29 AMd31bf3856ad364e351/6/2010 8:00:29 AMaar-AE1/6/2010 8:00:29 AMa3bbfe379-348b-450d-86a7-bb22e53c19781/6/2010 8:00:29 AMa52817a7d1/6/2010 8:00:29 AMa67c678a81/6/2010 8:00:29 AMbTelerik.Web.UIAn unhandled exception has occurred.c+Version1/6/2010 8:00:29 AMd2008.3.1125.35An unhandled exception has occurred.c+Culture1/6/2010 8:00:29 AMdneutralAn unhandled exception has occurred.c+PublicKeyToken1/6/2010 8:00:29 AMd121fae78165ba3d41/6/2010 8:00:29 AMaar-AE1/6/2010 8:00:29 AMafd794f69-50b6-4e80-a52c-60fb1a05429c1/6/2010 8:00:29 AMa393f50851/6/2010 8:00:29 AMa34f9d57d1/6/2010 8:00:29 AMaa97230481/6/2010 8:00:29 AMaa3f85c941/6/2010 8:00:29 AMa39249aa41/6/2010 8:00:29 AMac6335cbd1/6/2010 8:00:29 AMbAjaxControlToolkitAn unhandled exception has occurred.c+Version1/6/2010 8:00:29 AMd3.0.20820.16598An unhandled exception has occurred.c+Culture1/6/2010 8:00:29 AMdneutralAn unhandled exception has occurred.c+PublicKeyToken1/6/2010 8:00:29 AMd28f01b0e84b6d53e1/6/2010 8:00:29 AMaar-AE1/6/2010 8:00:29 AMa707835dd-fa4b-41d1-89e7-6df5d518ffb51/6/2010 8:00:29 AMae2e86ef91/6/2010 8:00:29 AMa9ehttp://elms.dma.gov.local/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl01_ScriptManager_HiddenField&compress=1&_TSM_CombinedScripts_=1/6/2010 8:00:29 AMb1/6/2010 8:00:29 AMbSystem.Web.ExtensionsAn unhandled exception has occurred.c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aar-AE%3a3bbfe379-348b-450d-86a7-bb22e53c1978%3a52817a7d%3a67c678a8%3bTelerik.Web.UI%2c+Version%3d2008.3.1125.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aar-AE%3afd794f69-50b6-4e80-a52c-60fb1a05429c%3a393f5085%3a34f9d57d%3aa9723048%3aa3f85c94%3a39249aa4%3ac6335cbd%3bAjaxControlToolkit%2c+Version%3d3.0.20820.16598%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aar-AE%3a707835dd-fa4b-41d1-89e7-6df5d518ffb5%3ae2e86ef9%3a9e%20%20%20%20%20%20<tbody>%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20<tr>%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20<td%20valign=%20%20%20%20%20<tbody>%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20<tr>%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20<td%20valign=%20%20%20%20%20<tbody>%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20<tr>%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20<td%20valign= 
    Request path: %21 
    User host address: %22 
    User: %23 
    Is authenticated: %24 
    Authentication Type: %25 
    Thread account name: %26 
 
Thread information: 
    Thread ID: %27 
    Thread account name: %28 
    Is impersonating: %29 
    Stack trace: %30 
 
Custom event details: 
%14

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
==================================
Mohammad Zaitoun
Top achievements
Rank 1
 asked on 06 Jan 2010
2 answers
189 views
Hi
  I am using radgrid and i need to refresh grid in every 10 sec but grid should refresh only when i am selected checkbox . .....if checkedbox true means then only page should ready to refresh otherwise page would not refresh........

(Thanks)
Regards
Suresh.S
SURESH
Top achievements
Rank 1
 answered on 06 Jan 2010
2 answers
93 views
I have a gid that displays 100 records and opens a details data set when the row is clicked or selected. However the page ALWAYS jumps to the top of the screen when a record is expanded or collapsed cause the user to have to scroll all the way back down to see the expanded details.

Is there a way to fix this other than shortening the number of results displayed on the screen to fit it?  I really want to keep the grid at 100 records...

Thanks.
tgerber
Top achievements
Rank 1
 answered on 05 Jan 2010
6 answers
210 views
I want to open the Appointment as "Series" always and I am using an external edit form to display/edit Appointment info.
So is there a way to do that currently?
Thanks.
towpse
Top achievements
Rank 2
 answered on 05 Jan 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?