Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
86 views
Hi Friends,
Please help me on this condition for MINDATE.

 MinDate='<%# Convert.ToDateTime(Eval("startDate")).ToString("dd/MMM/yyyy") %>'

I have startdate and Finish date. In finish date people cannot enter date lesser than or equal to start date.
So I used the MinDate but MINdate is allowing to enter start date if it is equal . How to avoid enetering same date equal to start date.
I only can enter finish dates greater than start dates.

Please help me in achieving this.

Regards,
Bharath.


Jayesh Goyani
Top achievements
Rank 2
 answered on 28 Mar 2011
1 answer
101 views
We would like to request a new server-side event for the RadGrid. Please add an event called OnLoad or AfterNewBinding. The purpose of this event would be to fire after the grid has been loaded with data. At this point, it is not easy to detect when the datasource's data has changed on the grid so we can select the first row. We can't use pre-render event as the data has not yet been populated. We also tried the ObjectDataSource's Selected event and the data has not been loaded either. 

If we had an event which fired after any new data has been bound and loaded, this would be easy. 

Thank you for your consideration.
Princy
Top achievements
Rank 2
 answered on 28 Mar 2011
1 answer
123 views
Hello Telerik's team!

I would know, is it possible to delete file after upload it?

Thank you!
Dimitar Terziev
Telerik team
 answered on 28 Mar 2011
3 answers
624 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
160 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
133 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
117 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
90 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
114 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
121 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?