Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
664 views

Hi Folks,

I slowed down at comparing two dates in Rad Grid. Here the comparison includes GridDateTimeColumn and  GridTemplateColumn.
Can I compare them both with dates involved or I need to change them.below I am giving the tags.Please help me out to solve this.

<telerik:GridDateTimeColumn UniqueName="schedstart" DataField="early_start_display" HeaderText="Scheduled Start" DataFormatString="{0:MM/dd/yyyy}" PickerType="DatePicker" AllowFiltering="false"> </telerik:GridDateTimeColumn>
 
 
 
<telerik:GridTemplateColumn UniqueName="gridMS" HeaderText="Mandatory Start" AllowFiltering="false">
                     <ItemTemplate>
                       <telerik:RadDatePicker ID="manstart" runat="server" Width="100px" Calendar-ShowOtherMonthsDays="false" Calendar-ShowRowHeaders="false" MinDate='<%# Convert.ToDateTime(Eval("early_start_display")).ToString("dd/MMM/yyyy") %>' DbSelectedDate='<%# Bind("mandatory_start") %>' DateInput-DateFormat="MM/dd/yyyy"/>
                     </ItemTemplate>
                    </telerik:GridTemplateColumn>
Jayesh Goyani
Top achievements
Rank 2
 answered on 28 Mar 2011
1 answer
209 views
Hi,

I have a Radgrid that uses client-side binding.  Using a GridBoundColumn displays all entries in my result set correctly.  When I add in a GridTemplateColumn and with an embedded control such as an asp:label only the first 10 or 11 rows display for that column.  I am not using paging but the grid is behaving as if it's using the default paging value (seems to be 10) for the GridTemplateColumn.  I believe this somewhat of a known error: http://www.telerik.com/community/forums/aspnet-ajax/grid/gridtemplatecolumn-problem-on-page-resize.aspx
but that was sometime ago.  Any ideas or workarounds?  Catching the OnRowDataBound and adding a label with a tooltip seems to be not the best fix.

Thanks
Pavlina
Telerik team
 answered on 28 Mar 2011
3 answers
166 views

I have not been able to get the RadProgressArea displayed during a RadUpload file upload using the current 2011Q1 release running in ASP.Net 3.5. It was working fine with the previous Telerik release, but now I don’t see the progress area in any of the browsers I tested: IE 6, IE 8, IE 9, FF 4, Chrome 10, Safari 5 and Opera.

Here are some excerpts from the web.config, which was updated by the Telerik wizard and then modified by me as best I could tell from the documentation. I’m hoping I got something wrong in the configuration, because the page code had not changed. Can anyone see anything wrong here? Or know of other issues with the progress area in the current version?

<configuration>
…
<!--Allow anonymous access to the Telerik Upload Progress Handler-->
<location path="Telerik.RadUploadProgressHandler.ashx">
    <system.web>
        <authorization>
            <allow users="*" />
        </authorization>
    </system.web>
</location>
  
<system.web>
    <assemblies>
        <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="Microsoft.ReportViewer.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
          
<!--Next 3 assemblies added by Telerik RADControls for the editor.-->
        <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    </assemblies>
…
<httpHandlers>
<remove path="*.asmx" verb="*" />
        <add path="*.asmx" verb="*" validate="false" 
            type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add path="*_AppService.axd" verb="*" validate="false" 
            type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add path="ScriptResource.axd" verb="GET,HEAD" validate="false"
            type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add path="Reserved.ReportViewerWebControl.axd" verb="*" validate="false"
            type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
        <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" validate="false" 
            type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" />
        <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" validate="false" 
            type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI" />
        <add path="Telerik.RadUploadProgressHandler.ashx" verb="*" validate="false" 
            type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" />
            <add path="Telerik.Web.UI.WebResource.axd" verb="*" validate="false" 
                type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
            <add path="ChartImage.axd" verb="*" validate="false" 
                type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI" />
      </httpHandlers>
      
    <httpModules>
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" />
      </httpModules>
</system.web>
  
<system.webServer>
    <urlCompression doDynamicCompression="true" doStaticCompression="true" dynamicCompressionBeforeCache="true"/>
    <validation validateIntegratedModeConfiguration="false" />
    <modules>
        <remove name="ScriptModule" />
        <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="integratedMode" />
    </modules>
    <handlers>
        <remove name="WebServiceHandlerFactory-Integrated" />
        <remove name="ScriptHandlerFactory" />
        <remove name="ScriptHandlerFactoryAppServices" />
        <remove name="ScriptResource" />
        <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" 
            type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" 
            type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add name="ReportViewerWebControl" path="Reserved.ReportViewerWebControl.axd" verb="*" 
            type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
        <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" 
            type="Telerik.Web.UI.WebResource, Telerik.Web.UI" verb="*" preCondition="integratedMode" />
        <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" 
            type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI" verb="*" preCondition="integratedMode" />
        <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" 
            type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI" verb="*" preCondition="integratedMode" />
        <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" 
            type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" verb="*" preCondition="integratedMode" />
        <add name="ChartImage_axd" path="ChartImage.axd" verb="*" preCondition="integratedMode" 
            type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI" />
    </handlers>
Genady Sergeev
Telerik team
 answered on 28 Mar 2011
1 answer
140 views
Hello guys.

I have a grid with a template column. I'm puting inside item template declaration the following code:

<a href="myUrlImage" rel="lightbox">click here</a>

I have a javascript code that shows my picture in a page that have zoom (picbox-> http://bunnyfire.co.uk/projects/picbox/). 

If i use it outside the grid, it works perfectly, but inside the grid, it not works.

I tryed with a asp hyperlink, but I have the same problem when the control is inside of the grid (but outside works fine).

What's the problem?

What can I do to fix the problem?

Regards.


Mira
Telerik team
 answered on 28 Mar 2011
1 answer
115 views
If you follow trace on a page containing scheduler you find resources for day view, month view, timeline, multi-day view and week view all are loaded even if only one of them is enabled in the code.  This seems to be a waste of server resources?  Are we perhaps not configuring things correctly or does  disabling different view simply remove the buttons to navigate between views?
Veronica
Telerik team
 answered on 28 Mar 2011
1 answer
138 views
Dear,

I am using Radgrid and I have a requirement to filter record in Grid like we do "NOT IN" Query in SQL Server.
I have a scenario like this:

I place RadCombobox in Grid' FilterTemplateColumn with respected filter values.
There are four values i.e. Value1, Value2, Value3 and Other. I fetch the data from Status table, which has status values like Value1, Value2, Value3 and Rest of the other status as Other.
For Value1, 2 and 3 I am using code like this:
and it is working fine.
tableView.filter("STATUSNAME", args.get_item().get_value(), "EqualTo");

My requirement is for fourth filter value "OTHER". When user selects "OTHER" I want to filter records which are NOT IN Value1, Value2 and Value3.


Thanks in advance.
Mira
Telerik team
 answered on 28 Mar 2011
3 answers
153 views
Before upgrading to the latest release or ASP.NET AJAX there was a "Convert to template column" option in the RadGrid designer, but I don't seem to be able to find this anymore? Where is it?
Veli
Telerik team
 answered on 28 Mar 2011
3 answers
85 views
Hi All,

I am facing the problem with Rad grid Edit pop up.While trying to edit the rad grid edit pop up entire scree was freezing including pop up options.any help would be great.

Regards,
Sreedhar reddy V
sreedhar
Top achievements
Rank 1
 answered on 28 Mar 2011
6 answers
126 views
I need to build a grid where the rows can expand and collapse in a similar fashion to a RadPanelBar and have started to look at NestedViews for the grid.

The idea being that I load a set of data and load it into my grid, and for each item I can have additional information in controls in my nestedview. The controls in my NestedView will always be in an editable state.

However, I can only use webservices as my data source, and while loading data for the grid is simple enough (OnNeedDataSource) it seems that this is not an option for the nested view.

I have thought about actually using a RadPanelBar, but the RadPanelItems would need to have alternate colours etc and it just seems like an awful lot of work, so I'm hoping there's a simple solution out there that I've missed.

Veli
Telerik team
 answered on 28 Mar 2011
1 answer
121 views
hi,
iam creating radschedular webpart  for sp2010 foundation.
iam using asp:updatepanel inside iam creating rad schedular.
but the schedular is not displaying properly

even i downloaded sample code from following link
http://www.telerik.com/community/forums/aspnet-ajax/scheduler/asp-updatepanel-and-radscheduler-issues.aspx

can any one guide me how to create schedular webpart in vs2010?

i download sample existing webparts ,in these they used telerik.ajax.sharepoint.dll
is it mandatory have to use this dll?
iam using telerik.web.ui dll only.

when i installed the existing webparts its working well.
i attached my webpart display image
Sebastian
Telerik team
 answered on 28 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?