Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
267 views
Below is the code of my grid:

<telerik:RadGrid ID="rgAnalysisResults"  
                 runat="server"  
                 AutoGenerateColumns="False"  
                 AllowPaging="True" 
                 AllowSorting="True" 
                 ShowStatusBar="True"  
                 Skin="BDB" EnableEmbeddedSkins="False" GridLines="None" > 
    <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle> 
    <CommandItemStyle /> 
    <MasterTableView> 
 
<RowIndicatorColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</RowIndicatorColumn> 
 
<ExpandCollapseColumn> 
<HeaderStyle Width="20px"></HeaderStyle> 
</ExpandCollapseColumn> 
        <Columns> 
            <telerik:GridBoundColumn DataField="DocumentDate" HeaderText="DocumentDate"  
                UniqueName="DocumentDate" DataFormatString="{0:dd/MM/yyyy}" 
                DataType="System.DateTime" /> 
            <telerik:GridBoundColumn DataField="Parcel" HeaderText="Parcel" UniqueName="Parcel" /> 
            <telerik:GridBoundColumn DataField="LaboNbr" HeaderText="LaboNbr" UniqueName="LaboNbr" /> 
          <%--  <telerik:GridButtonColumn ButtonType="ImageButton" CommandArgument="FileName" ImageUrl="~/images/pdf.gif" 
                DataTextField="" CommandName="ShowPDF" UniqueName="FileName" HeaderText="" />--%> 
             
              <telerik:Gridtemplatecolumn UniqueName="PDF" HeaderText="Pdf"> 
                <ItemTemplate> 
                    <asp:ImageButton ID="DownloadPDFButton" CommandName="Download" runat="server" CommandArgument="FileName" ImageUrl="~/images/pdf.gif" /> 
                </ItemTemplate> 
                </telerik:Gridtemplatecolumn> 
               <%-- <telerik:Gridtemplatecolumn> 
                <ItemTemplate> 
                    <asp:ImageButton ID="DownloadXMLButton" CommandName="DownloadXML" runat="server" CommandArgument="FileNameXML" ImageUrl="~/images/xml.gif" /> 
                </ItemTemplate> 
                </telerik:Gridtemplatecolumn>--%> 
</Columns> 
        <NoRecordsTemplate> 
            <asp:Label ID="lblNoRecords" runat="server" Text="" ForeColor="Red" resourcekey="lblNoRecords" /> 
        </NoRecordsTemplate> 
 
<EditFormSettings> 
<EditColumn InsertImageUrl="Update.gif" UpdateImageUrl="Update.gif" EditImageUrl="Edit.gif" CancelImageUrl="Cancel.gif"></EditColumn> 
</EditFormSettings> 
        </MasterTableView> 
 
<FilterMenu Skin="BDB" EnableEmbeddedSkins="False" EnableTheming="True"> 
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
</FilterMenu> 
</telerik:RadGrid> 

I have a column called DocumentDate which contains dates. I am trying  to only show the date (no time), but 0:00:00 is added to all the dates. What am I doing wrong?
Jen
Top achievements
Rank 1
 answered on 12 Feb 2009
1 answer
124 views
Hi,
I am  using TelerikRadGrid. Having problem when I use "UseStaticHeaders = 'True'".

Problem is, I want the Grid to have fixed header and footer, so that user can see the header text when scrolling appears.
Also, I have to change the background color of the header to our requirements. Now the problem comes. I can see a box above the vertical scroll bar and beside the last column header. How to remove this?.

I am taking RadGridWith as X and Mastertable width as X-17.

Attached demo project. Please make Grid.aspx as your startup page.

Thanks,
Sreenivas
Dimo
Telerik team
 answered on 12 Feb 2009
1 answer
83 views
Is it possible to filter on multiple - hidden - columns (or DataValueKey) base on one column filter?

On top of that, I'd like this to operate seemlessly with the other filter in the grid.

The column on which I need this, represents a group in a hierarchy of groups. When the user selects a group, I want the itema in that group or any groups under that group (three levels deep) to be displayed.

Supposing I can get the complete hierarchy of groups for each item in 3 columns (hidden) could I filter each column with an OR without disrupting the other filter?

Thanks,

Hugues Ferland
Sebastian
Telerik team
 answered on 12 Feb 2009
3 answers
329 views
Hi i getting an error: Could not load type 'Telerik.Web.UI.Recompression'
it is:

Version=2008.3.1105.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4
is it that the problem is due the version ?

if so do i have the right to get a free update ?

Sebastian
Telerik team
 answered on 12 Feb 2009
1 answer
162 views

<

 

telerik:RadDateInput ID="txtRequestTime" runat="server" Width="75px" DateFormat="t" DisplayDateFormat="hh:mm tt">

 

</

 

 

telerik:RadDateInput>

How come when I enter a 4p in the box it doesn't resolve to 4:00 PM?  If I do 4PM it works and resolves to 4:00 PM, 4P will always give me 4:00 AM on a blur.  How can I make the this control parse a "p" as "pm" and an "a" as an "am", in addition to the default behavior of specifying AM/PM for the time. 

Using version: 2008.03.1125.35 

 

Dimo
Telerik team
 answered on 12 Feb 2009
5 answers
190 views
My program will have two tabs.One tab(pageview) will display dundas chart.when user clicks on a chart, same chart will be created in another tab(pageview).How to do this??? 
sanjeeb
Top achievements
Rank 1
 answered on 12 Feb 2009
1 answer
138 views
hello,

we are using radwindowmanager for open serveral windows, and we have flash control in our page.
somwhow radwindow boarders/titles not visible, in case flash control is behind .
we using the following code...

<telerik:RadWindowManager id="RadWindowManager1" runat="server" Behavior="Close" Skin="Web20" Overlay="True" >
<Windows>
         <telerik:RadWindow id="DialogWindow"            OnClientClose="OnRadWindowClose"            Modal = "True"  Runat="server"
           Width="630px"            Height="600px"            VisibleStatusbar="False"            NavigateUrl="" Left="" Top=""  Overlay="true">
         </telerik:RadWindow>
        </Windows>
</telerik:RadWindowManager>

The same works fine in 'Google Chrome'. The problem is overlay Radwindow is not working fine in IE.
 

 

 

 

 

 

 

 

 

 

 

Fiko
Telerik team
 answered on 12 Feb 2009
2 answers
154 views

Hi,

 

I have created an inline editable grid and has added a dropdowncolumn to the grid. When i am trying to add empty rows to the grid, all other columns are coming as empty but the dropdown column is getting pouplated with the first value in dropdown. I want that column to be empty.
While editing the row how to make the dropdown to display the selected value as the column value.
If have assigned same xml datasource to dropdown columns will it cause any problem?
And I am not able to bind one of my dropdown columns in the grid.

It is throwing the exception: 
System.Web.HttpException: DataBinding: 'System.String' does not contain a property with the name 'ows_InvoiceStatus'.

Thanks in advance,
Vinita

Vinita
Top achievements
Rank 1
 answered on 12 Feb 2009
1 answer
118 views
Hi,

i wanted to display a specific image, based on an sql query, which is the status of our  network, either down, or  up. Or the power consumption of our rack. I would use an sql query, to give me the results.

Is it possible to display a specific image, based on what comes back as a response from the sql query?

And if it is possible, then , how to auto refresh the radrotator control, to display concurrent information based on queries, being fired asyn, i.e. using AJAX.

thx.

shareiq
Fiko
Telerik team
 answered on 12 Feb 2009
3 answers
650 views
Hello,

I'am use RadWindows to send download Excel File.

I'am use this Code (C#) :
HttpContext.Current.Response.ContentEncoding = System.Text.Encoding.UTF8;
HttpContext.Current.Response.ContentType = "application/vnd.ms-excel";
HttpContext.Current.Response.AddHeader("Content-Disposition", "attachment;Filename=Export.xls");
HttpContext.Current.Response.Write(_Str_Out);
HttpContext.Current.Response.End();

After this operation, The script of RadWindow return this error :
Sys.WebForms.PageRequestManagerParserErrorException: Impossible d'analyser le message reçu du serveur. Cette erreur peut avoir plusieurs causes possibles : réponse modifiée par des appels à Response.Write(), filtres de réponse, HttpModules ou activation de trace du serveur.
Détails : Erreur d'analyse à proximité de '<?xml version="1.0"?'.

And the box for download File do not appear. 

Have you a Suggestions?  Examples?

Thanks.

Regards,
Citt_jr

Sorry for my english, I'am French.

 

 

 

 

 

 

 

 

Fiko
Telerik team
 answered on 12 Feb 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?