Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
172 views

hi friends

why Client side validation of AllowedMimeTypes in RadAsyncUpload don't work?

Genady Sergeev
Telerik team
 answered on 05 Jul 2010
1 answer
62 views
Hi,
    This may be basic, but I can't see where to configure what I want:
    I'd like to have an edit (button) column autogenerated on my detail table, but not on the master table.  How do I do this?
    Thanks,
        Ben
Princy
Top achievements
Rank 2
 answered on 05 Jul 2010
1 answer
117 views
I have a radMenu on the main site.master form which shows on a page.  The page has a radGrid with a button to open a radWindows that shows a report.  When the radWindow opens everything works great but the radMenu shows through onto the Window.

Please see the attached jpg for a visual.

Shinu
Top achievements
Rank 2
 answered on 05 Jul 2010
1 answer
85 views
Hello,telerik:
My scenriao is:

when I open the window that inserts one column into a table in a radgrid column  firstly ,I can do well.

But when I open the same window in the same row  immediately after the opened window firtstly  closed , the old state still remain ,for example , the text of the  textbox I typed still keep,How can I keep the window state as I open firstly?
thanks.
Georgi Tunev
Telerik team
 answered on 05 Jul 2010
2 answers
212 views
When a value is entered into a filter that the automatic parser cannot parse, an exception is thrown, for example, if "2010" is entered into a DateTime filter box.  How can this exception be caught so that it can be dealt with instead of invalidating the page?

Example exception:

ERROR DETAILS
Message : String was not recognized as a valid DateTime.
Source : mscorlib
Stack Trace : at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at lambda_method(Closure , ExchangeRate )
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at System.Linq.EnumerableExecutor`1.ExecuteBoxed()
at Telerik.Web.UI.GridDynamicQueryable.Count(IQueryable source)
at Telerik.Web.UI.GridDataTableFromEnumerable.FillData35()
at Telerik.Web.UI.GridDataTableFromEnumerable.FillData()
at Telerik.Web.UI.GridResolveEnumerable.EnsureInitialized()
at Telerik.Web.UI.GridEnumerableFromDataView..ctor(GridTableView owner, IEnumerable enumerable, Boolean CaseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields)
at Telerik.Web.UI.GridDataSourceHelper.CreateGridEnumerable(GridTableView owner, IEnumerable enumerable, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields)
at Telerik.Web.UI.GridTableView.get_ResolvedDataSource()
at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource)
at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data)
at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data)
at Telerik.Web.UI.GridTableView.PerformSelect()
at Telerik.Web.UI.GridTableView.DataBind()
at Telerik.Web.UI.RadGrid.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e)
at Telerik.Web.UI.RadGrid.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
TargetSite : Parse

Sean Brothers
Top achievements
Rank 1
 answered on 04 Jul 2010
1 answer
108 views
Please, see the subject.

With some numbers combination I can see all charts, with some can't see at least one.
Most of the cases (6 from 10) it works...

Is it normal? :) Telerik rules?


I've noticed when the upper chart has bigger value than lower (vertical style) - it doesn't draw the upper.
Otherwise - draws all.
Same with horizontal - left=upper, right=lower - doesn't draw the right one


Also, using Drill Down chart when I click on a chart and display next diagram, then active areas are same as on parent chart.
RadChart doesn't reassign new active areas on new chart.

Same's on ya example:
Роберт
Top achievements
Rank 1
 answered on 04 Jul 2010
8 answers
279 views
Hi Telerik Team

I'm upgrade from Q3 2008 to Q3 2009 and faces some problem in the rad dock

1- the command buttons disappeared , in Q3 2008 I used the folllowing style to display the command

 

 

.RadDockCloseCommand

 

{

 

 

width: 25px;

 

 

 

height:25px;

 

 

 

cursor:pointer;

 

 

 

cursor:hand;

 

 

 

background:url(../common/Image/portal/close.gif) transparent !important;

 

}

and the same for RadDockExpandCommand,RadDockCollapeCommand
2- there is a space [nearly 5 to 10 pixels] between the dock and the inner control [left and right sides] which was not in the earlier versions.
3- the rad scheduler in rad dock overflow the container dock 

you can have a look at this image to the the bugs  visually
http://www.4shared.com/photo/oT1PeWR8/Portal.html

many thanks for telerik support team


Tools
  • asp.net 3.5
  • IE 8
  • Rad controls for asp.net ajax
  • windows 7 operating system
Moustafa
Top achievements
Rank 1
 answered on 03 Jul 2010
2 answers
115 views
I am trying to convert my declarative RadConfirm template over to a class and have followed the steps outlined here (twice):
http://www.telerik.com/help/aspnet-ajax/window_dialogschangingthedialogtemplates.html
but it's not working.

When putting the code into the page_load event I get an error on this line:
Me.RadWindowManager1.ConfirmTemplate = New ConfirmTemplate(Me.Page)
The error is:
Error   5   Type 'ConfirmTemplate' is not defined. 

My class file is (ascx):
<%@ Control Language="VB" ClassName="ConfirmTemplate" %> 
<div class="rw_Confirm_Wrapper"> 
    <div class="rw_ConfirmText"> 
        {1} 
    </div> 
    <div class="rw_ConfirmButtonsWrapper"> 
        <div class="rw_ConfirmButtons" style="float: left;" onclick="$find('{0}').close(false);"> 
            Cancel</div> 
        <div class="rw_ConfirmButtons" style="float: right;" onclick="$find('{0}').close(true);"> 
            Proceed</div> 
    </div> 
</div> 
 

and (ascx.vb):
Class ConfirmTemplate 
    Implements ITemplate 
    Private _page As Page 
    Public Sub New(ByVal page As Page) 
        Me._page = page 
    End Sub 
    Sub InstantiateIn(ByVal owner As Control) Implements ITemplate.InstantiateIn 
        Dim ctrl As Control = _page.LoadControl("ConfirmTemplate.ascx") 
        owner.Controls.Add(ctrl) 
    End Sub 
End Class 

I have followed the example exactly also (using c#) with an AlertTemplate and got the same error.

I would welcome any assistance with this - thanks.

GlenB
Top achievements
Rank 1
 answered on 02 Jul 2010
3 answers
183 views
Hello, I have a problem with datagrid and EditMode="InPlace", I'm using code behind for update, so when the data pass to the method, the row to update is the correct, but, the new data don't, the data is old. I attached the code.

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"     EnablePageHeadUpdate="false"> 
                                                <AjaxSettings> 
                                                    <telerik:AjaxSetting AjaxControlID="rgSocios"> 
                                                        <UpdatedControls> 
                                                            <telerik:AjaxUpdatedControl ControlID="rgSocios" /> 
                                                            <telerik:AjaxUpdatedControl ControlID="Label1" /> 
                                                        </UpdatedControls> 
                                                    </telerik:AjaxSetting> 
                                                </AjaxSettings> 
                                            </telerik:RadAjaxManager> 
 
                                            <telerik:RadGrid ID="rgSocios" runat="server" ShowStatusBar="True" 
                                                Skin="Windows7" Visible="False" AllowAutomaticUpdates="True" AutoGenerateEditColumn="False" 
                                                GridLines="None" PageSize="7" AllowPaging="true" EnableViewState="true" 
                                                OnDataBound="rgSocios_DataBound" OnLoad="rgSocios_OnLoad" OnUpdateCommand="rgSocios_UpdatedCommand"> 
                                                <MasterTableView NoMasterRecordsText="No se encontraron socios para este agente" 
                                                    CommandItemDisplay="Top" AutoGenerateColumns="False" AllowSorting="True" EditMode="InPlace" DataKeyNames="numIdSocio"> 
 
                                                    <AlternatingItemStyle BackColor="#E0E0E0" /> 
 
                                                    <PagerStyle Mode="NextPrevNumericAndAdvanced" /> 
                                                        <CommandItemSettings 
                                                            ShowExportToWordButton="true" 
                                                            ShowExportToExcelButton="true" 
                                                            ShowExportToCsvButton="true" 
                                                            ShowExportToPdfButton="true" 
                                                            ShowAddNewRecordButton="false" 
                                                            ExportToCsvText="Exportar a CSV" 
                                                            ExportToExcelText="Exportar a Excel" ExportToPdfText="Exportar a PDF" 
                                                            ExportToWordText="Exportar a Word" RefreshText="Refrescar" 
                                                        /> 
 
                                                    <Columns> 
                                                        <telerik:GridBoundColumn DataField="codigoCompania" UniqueName="idCompania" HeaderText="Compañía" HeaderStyle-HorizontalAlign="Center" > 
                                                        <HeaderStyle HorizontalAlign="Center" /> 
                                                        </telerik:GridBoundColumn> 
 
                                                        <telerik:GridBoundColumn DataField="fechaActualizacion" UniqueName="fechaActualizacion" HeaderText="Fecha Actualizaci&oacute;n" HeaderStyle-HorizontalAlign="Center" > 
                                                        <HeaderStyle HorizontalAlign="Center" /> 
                                                        </telerik:GridBoundColumn> 
 
                                                        <telerik:GridBoundColumn DataField="numIdIntermediario" UniqueName="numIdIntermediario" HeaderText="N&uacute;mero Identificaci&oacute;n Intermediario" HeaderStyle-HorizontalAlign="Center" > 
                                                        <HeaderStyle HorizontalAlign="Center" /> 
                                                        </telerik:GridBoundColumn> 
 
                                                        <telerik:GridBoundColumn DataField="nombreSocio" UniqueName="nombreSocio" HeaderText="Nombre Socio" HeaderStyle-HorizontalAlign="Center" > 
                                                        <HeaderStyle HorizontalAlign="Center" /> 
                                                        </telerik:GridBoundColumn> 
 
                                                        <telerik:GridBoundColumn DataField="numIdSocio" UniqueName="numIdSocio" HeaderText="Numero Identificaci&oacute;n Socio" HeaderStyle-HorizontalAlign="Center" > 
                                                        <HeaderStyle HorizontalAlign="Center" /> 
                                                        </telerik:GridBoundColumn> 
                                                    </Columns> 
 
                                                    <RowIndicatorColumn><HeaderStyle Width="20px" /></RowIndicatorColumn> 
                                                    <ExpandCollapseColumn><HeaderStyle Width="20px" /></ExpandCollapseColumn> 
                                                </MasterTableView> 
 
                                                <ClientSettings> 
                                                    <ClientEvents OnRowClick="RowClick" OnRowDblClick="RowDblClick" OnGridCreated="GridCreated" OnCommand="GridCommand" /> 
                                                </ClientSettings> 
                                            </telerik:RadGrid> 

Babu Puchakayala
Top achievements
Rank 1
 answered on 02 Jul 2010
2 answers
110 views
Hoping I can get some ideas on how to overcome an issue we are experiencing.

I have a Rad Grid that is hidden (visible = false) that returns an Excel export of the output. When the grid is set to visible = false the Excel export looses its column headings.

Any ideas on how to fix this? I would like the column headers to display in the Excel output regardless of the grid being visible or not.

Thanks
Daniel
Telerik team
 answered on 02 Jul 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?