Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
176 views
hi
i have 3 table:  1- Master table    2- Detail table(0)    3- Detail table(1)
when i want update detailTable(0) i can:

int ParentId = RadGrid1.MasterTableView.DataKeyValues[

int.Parse(e.Item.OwnerTableView.ParentItem.ItemIndexHierarchical)]["Id"].ToString();

but when i want update DetailTable(1) i can not use this code :

 

int ParentId = RadGrid1.MasterTableView.DetailTables[0].DataKeyValues[int.Parse(e.Item.OwnerTableView.ParentItem.ItemIndexHierarchical)][

"Id"].ToString();
    // erro ocured and i can not use :((

maybe my method completly is uncurrect.

 

Jeffrey Sanford
Top achievements
Rank 2
 answered on 14 Mar 2014
3 answers
152 views
Hi All,

I've implemented the following functionality in my RadGrid:
http://www.telerik.com/help/aspnet-ajax/grid-google-like-filtering.html

It works well, but it appears to auto-fill the entire value when a user would like to select a subset.  For example, if we have days of the week in the ComboBox the user would like to be able to type "sday" and get Wednesday and Thursday back.  Is this at all possible?

Thanks,
Mark
Mark
Top achievements
Rank 1
 answered on 14 Mar 2014
2 answers
102 views
Hi All,

One of the Users noted that the input cursor in RadComboBoxes is Italicized, as in it appears like this: /

Is there a way to straighten it?

Thanks,
Mark
Mark
Top achievements
Rank 1
 answered on 14 Mar 2014
2 answers
145 views
Hi All,

I have a RadGrid with Sqldatasource.  Is there anyway to implement some sort of auditing mechanism?  Perhaps a shadow copy of the modified table that contains a list of the changes and all legacy instances of the rows?

Thanks,
Mark
Mark
Top achievements
Rank 1
 answered on 14 Mar 2014
8 answers
474 views

Hello all

I am wondering if anybody might be familiar with the cause of an issue I am struggling with: I have a radCaptcha that validates fine on the initial postback, e.g., validating as False if the code is incorrect or missing, but then if the user fails to enter a code on the second attempt, the radCaptcha always validates as True, even after both the radCaptcha Validate method, and then the Page.Validate(<validation group>) method are called. Important to notice here that the validation works as expected after the first postback, it is just afterwards, when the user is required to enter a new code on a second attempt. It appears to me that the radCaptcha's validator does not reset itself, even if IsValid is manually reset to false at the end of the code-behind processing during the first postback. After the second postback, IsValid determinedly is stuck on True, no matter what I do, which makes me suspicious that this is a bug.

To complicate matters, the radCaptcha control in question is inside an ASCX user control, which is declared in the ASP markup, rather than loaded dynamically, and there are two validation groups on the page in question. Is there any known workaround for this sort of issue, and where should I be calling different methods? At the moment I have radCatcha.Validate and Page.Validate(<group>) in the code-behind handler for the submit button, and additionally, after I realised there was a problem, I have been experimenting with use of radCaptcha.DataBind and switching its Enabled and IsValid methods on and off manually in the Control Load handler, but nothing seems to make any difference. I could do with a pointer in the right direction to troubleshoot this problem. Where would be the recommended places to call different methods in this sort of scenario?

Thanks if you can assist.

Regards

Slav
Telerik team
 answered on 14 Mar 2014
2 answers
146 views
Hello Friend,
                     I am having one problem with using agenda view for scheduler. It is not appearing in the selected view options list. Do I have to do some extra setting or some extra downloads of latest version. Design code for my scheduler is as follows.

          <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>



<telerik:RadScheduler runat="server" ID="rSchRoomBooking" Skin="Metro" Height="450" OverflowBehavior="Auto" 
                            OnClientAppointmentWebServiceInserting="OnClientAppointmentWebServiceInserting"
                            OnClientNavigationComplete="OnClientNavigationComplete"
                            OnClientAppointmentsPopulating="OnClientAppointmentsPopulating"
                            SelectedView="WeekView" ShowFooter="false" SelectedDate="2012-01-31" TimeZoneOffset="03:00:00"
                            DayStartTime="08:00:00" DayEndTime="21:00:00" FirstDayOfWeek="Monday" LastDayOfWeek="Friday"
                            EnableDescriptionField="true" AppointmentStyleMode="Default">                            
                            <AdvancedForm Modal="true"></AdvancedForm>
                            <TimelineView UserSelectable="false"></TimelineView>    
                            <TimeSlotContextMenuSettings EnableDefault="true" />
                            <AppointmentContextMenuSettings EnableDefault="true" />
                            <Localization HeaderWeek="Work week" />
                        </telerik:RadScheduler>
Goraksh
Top achievements
Rank 1
 answered on 14 Mar 2014
3 answers
693 views
Hello,

I am using a RadGrid with filtering capability on multiple columns and have run into an issue. Background: the users want the grid to default to only items that were created in the current fiscal year. I have already applied the initial filter in the NeedDataSource event as follows:

ASPX:
                <telerik:GridDateTimeColumn DataField="Created" HeaderText="Submitted Date" SortExpression="Created" DataFormatString="{0:d}"
                    FilterControlWidth="120px" UniqueName="Created" PickerType="DatePicker" EnableRangeFiltering="true">
                    <HeaderStyle Width="150px" />
                </telerik:GridDateTimeColumn>

ASPX.CS (in NeedDataSource function after grid DataSource is set)
        if (!Page.IsPostBack)
        {
            RadGrid1.MasterTableView.FilterExpression = string.Format("([Created] >= \'{0:d}\') AND ([Created] <= \'{1:d}\')", FiscalYearStart, FiscalYearEnd);
            GridColumn createdDate = rgRevenueAdjustments.MasterTableView.GetColumnSafe("Created");
            createdDate.CurrentFilterFunction = GridKnownFunction.Between;
            createdDate.CurrentFilterValue = FiscalYearStart.ToShortDateString();
            createdDate.AndCurrentFilterValue = FiscalYearEnd.ToShortDateString();
        }

This all works fine, with the exception that the filter values do not appear in the RadDatePickers, as shown below:

 
The main issue I'm trying to solve is that when a user filters on another column, the filter for this column is removed, where I want it to filter down the existing items. I've tried to do some searching around to solve this, and haven't really found any answers yet. Am I missing something?

As a side note: I would really love for the RadDatePickers to appear on two lines rather than expanding out horizontally. Is this possible?
Matt
Top achievements
Rank 1
 answered on 14 Mar 2014
6 answers
207 views

Very simple form with only a blank report
With FormDecorator the report viewer export drop down box is disabled or does not work when FormDecorator  is removed all works fine.
This only happens in IE 11
If I add ControlsToSkip="Select" to the FormDecorator markup then all is good in IE 11 

 

<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
        </Scripts>
    </telerik:RadScriptManager>
        <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" />
    <telerik:ReportViewer ID="ReportViewer1"  Width="800"  runat="server"></telerik:ReportViewer>
    </form>
</body>
Danail Vasilev
Telerik team
 answered on 14 Mar 2014
1 answer
115 views

Hello ,

I am using datepicker in my application, I have set the displaydateformat of that to dd/MM/yyyy

<tlr:RadDatePicker runat="server" ID="InvoiceDate"   AutoPostBack="false" >
             <DateInput ID = "invoiceDate" runat = "server" DateFormat = "dd/MM/yyyy" DisplayDateFormat = "dd/MM/yyyy">
             </DateInput>
</tlr:RadDatePicker>

When I select the date from the datepicker calendar it is getting displayed in dd/MM/yyyy format in the datepicker textbox. But when I paste some value in the textbox
it is getting displayed in mm/dd/yyyy format

for eg. pasting 2013-03-11 is getting displayed as 03/11/2013, where as I want it to be as 11/03/2013.

Can you please help me in this.

Thanks 
Maria Ilieva
Telerik team
 answered on 14 Mar 2014
8 answers
214 views
Anyone having this issue in VS 2010 using a Telerik Web Application solution?
I have the telerik.web.ui.skins.dll referenced in my project and the only skin that is available to select is the default skin.
I just upgraded to radcontrols for ajax Q2 2012
I have attached some screen shots to showing the information.
Pavlina
Telerik team
 answered on 14 Mar 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?