Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
414 views
Hi,
   I have GridTemplateColumn with dropdownlist and text box in a Rad Grid and I have set ExportOnlyData="False".

 

<telerik:GridTemplateColumn HeaderText="Answer" UniqueName="AnswerOptions">

 

 

<HeaderStyle HorizontalAlign="Left" Width="150px"/>

 

 

<ItemTemplate>

 

 

<asp:dropdownlist id="ddloptions" runat="server" >

 

 

</asp:dropdownlist>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 
When I do "ExporttoExcel", it opens up a excel file, with dropdown and textbox.  I select some values from dropdown and enter values for textbox and then save as ExcelWorkbook. Till that no problem.
   Now I am trying to import the entered values into database. I tried different possible ways. I tried to save the file as csv/tab delimited, but the value selected in dropdown or entered in textbox doesn't get copied to the csv/text. I tried to just copy the cells and paste it into a notepad. But the selected dropdown value doesn't get copied. I could not figure out how this dropdownlist/textbox is stored in the excel workbook. Can you please let me know how I can retrieve the dropdown/textbox values ?
Appreciate your help.
Thanks
Meena
Prangadj
Top achievements
Rank 1
 answered on 02 Sep 2009
3 answers
76 views
Hi All,
I want to display the year data by month (Jan-Dec) Based on the Timeperiod selection.
Suppose if i select jul month the grid should display from jan-Jul.


I am binding 12 columns ,based on the time period selection remaining columns i am hiding.
the Grid header is not displaying properly for the first time binding the grid.


Can anyone help on this.
Thank You
Martin
Telerik team
 answered on 02 Sep 2009
3 answers
139 views
Dear all,

In original asp.net ajax updatepnael, We can use a Trigger tag to determine which control and event name to fire ajax's update. It's really useful when using lots of use control in a page.

For example, I have 3 user control on a page:
Control_A has two events : event_1 and event_2
event_1 will trigger Control_B's ajax updating but not Control_C
event_2 will trigger Control_C's ajax updating but not Control_B

How can I do it when using RadAjaxManager?
Pavlina
Telerik team
 answered on 02 Sep 2009
1 answer
76 views

I have searched the forum for this issue without success and your online example is too simiplistic to adapt.

I have 4 grids on a page, each representing a separate db table, and the schema for each table is different.  I need to drag rows from 3 of the grids to the 4th to form new records aggregating the data from the 3 source tables.  I know how to capture the contents of the 4th grid and to update the db.  My problem is getting the rows from each of the 3 source grids to stick to the 4th grid.

RadGrid_1 -----------

                               |

RadGrid_2 -------------------> RadGrid_4

                               |

RadGrid_3 -----------

Can this even be done?  If so, is there a reference implementation somewhere?

Sebastian
Telerik team
 answered on 02 Sep 2009
1 answer
121 views
I am using radeditor for ajax with asp.net validator control using the code below. when user click on the button, validation works in IE and pages get scrolled to the editor. But it does not work in firefox. I have a long page and submit page is at the bottom. In all non IE browsers when I click submit, nothing happens and if i scroll up to the box i can see the valiation text there. How can I scroll the page to make sure that it shows the valiation msg. thanks.

 

<tk:RadEditor ID="txt" runat="server" Width="80%" Height="290px" ToolsFile="~/Editor/BasicEditTools.xml"

 

 

EditModes="Design">

 

</tk:RadEditor>

 

 

<cc1:ValidatorCalloutExtender ID="VCRequiredText" runat="server" TargetControlID="RequiredText">

 

 

</cc1:ValidatorCalloutExtender>

 

<

 

asp:RequiredFieldValidator ID="RequiredText" runat="server" ControlToValidate="txt"

 

 

 

 

 

SetFocusOnError="True" Display="None" ErrorMessage="Please enter text...."></asp:RequiredFieldValidator>

 

Rumen
Telerik team
 answered on 02 Sep 2009
1 answer
108 views
Hi,

I am using Telerik RadGrid with google like filtering.
I need to retain the filter values of one column when another column is filtered.

Bodevain Svensson
Top achievements
Rank 1
 answered on 02 Sep 2009
1 answer
270 views
Hello,

how can i get a postback when clicking the checkbox in a radlistbox? I know it's currently not built in but how can i add this?


Mr. Plinko
Top achievements
Rank 1
 answered on 02 Sep 2009
2 answers
609 views
Hi.

I have both VS2005 and VS2008 on the same development computer (64bitXP) and have been succesfully using the ASP.NET Ajax 2009 Q2 controls in VS2005.  I recently ported my website code to VS2008 and plan to work in that IDE now.  I manually added the Telerik RAD Controls to the 2008 toolbox, so no problem there, but the "Telerik" menu item for all the VS Extensions does not appear in VS 2008 IDE.  It is in the VE2005 copy, but I can't seem to find out how to get it into VS2008.  Trying to re-install using the RADControls installer simply informs me that the installation had already been done.  How can I get the Telrik menu item to appear in the VS2008 IDE?

Thanks for a great product!!

Tom Stanley
TALJAC Computing Consultants, LLC
T. Stanley
Top achievements
Rank 1
 answered on 02 Sep 2009
2 answers
164 views

I have a page which contains some search parameters and a telerik chart.
At the beginning, the page can be rendered because the chart is invisible, once i click the generate chart button, it run for a long time and finally prompt for username and password, after entering 3 times, it shows me the 401.2 error.

The web application is using 2008 Q3 on IIS 6.

Here is part of my web.config

<location path="Telerik.Web.UI.WebResource.axd">  
        <system.web> 
            <authorization> 
                <allow users="*"/>  
            </authorization> 
        </system.web> 
    </location> 
    <location path="ChartImage.axd">  
        <system.web> 
            <authorization> 
                <allow users="*"/>  
            </authorization> 
        </system.web> 
    </location> 
 
         .......  
 
<httpHandlers> 
            <remove path="*.asmx" verb="*"/>  
            <add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>  
            <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>  
            <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>  
            <add path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>  
            <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>  
            <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>  
            <add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>  
            <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>  
        </httpHandlers> 
Vladimir Milev
Telerik team
 answered on 02 Sep 2009
3 answers
136 views
When using an Radwindow within an IFrame the window will shift another 2 pixels after dragging the window (or just by clicking on the titlebar). This only happens if the attribute frameborder of the IFrame is set to zero (no border). If the IFrame has a border this behavior doesn't occur (frameborder="1"). The problem only occurs in Internet Explorer, not in Firefox.

Page1 default.aspx  (Containing IFrame)
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
   <title></title>  
</head> 
<body> 
   <form id="form1" runat="server">  
   <div> 
      <iframe src="default2.aspx" width="800" height="600" frameborder="0" style="left: 50px; top: 50px; position: absolute"></iframe> 
   </div> 
   </form> 
</body> 
</html> 
 


Page2 default2.aspx (Page is loaded in IFrame and shows a radwindow)
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2"%> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
   <title></title>  
</head> 
<body> 
   <form id="form1" runat="server">  
   <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
   </telerik:RadScriptManager> 
   <telerik:RadWindowManager ID="RadWindowManager1" runat="server">  
      <Windows> 
         <telerik:RadWindow ID="RadWindow1" runat="server" NavigateUrl="http://www.google.com" 
            VisibleOnPageLoad="True" Skin="Vista">  
         </telerik:RadWindow> 
      </Windows> 
   </telerik:RadWindowManager> 
   </form> 
</body> 
</html> 
 
Kamen Bundev
Telerik team
 answered on 02 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?