Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
121 views
Hi telerik,

My RadGrid has paging and sorting enabled. I am using add new record button to insert in my RadGrid. I am also using automatic crud operations. But my inserted rows are showing in the last row of the RadGrid. I want to show it in the current page itself. Please help me to achieve this scenario.

Thanks in advance.........
Shinu
Top achievements
Rank 2
 answered on 19 Nov 2012
2 answers
187 views
hi, kindly help me ,i have 2 datepickers and set min date and max date ,it works fine ,
now when one of them make error ex. out of range then the date input take the error style ,that's great 
but when clear the the dates by clicking a clear button  the error style still appear ,
if i removed it by jquery ,it's appear again on mouse over event ,
how to clear date picker event it takes error style ?
i used the following function and it's work fine but with IE the popup calender still appear .why ?????
 //clear Add Holding Event Inputs
                function fnClearHoldingEventInputs(sender, args) {
                    
                    rdpEventStartDate.set_maxDate(maxDate);
                    rdpEventEndDate.set_minDate(minDate);
                    rdpEventStartDate.clear();
                    rdpEventStartDate.get_dateInput().clear();
                    rdpEventEndDate.clear();
                    rdpEventEndDate.get_dateInput().clear();
                    $('.riTextBox').val('');
                    //to remove error class from raddatepicker UI bug
                    $('.riError').removeClass('riError');
                    rdpEventStartDate.set_showPopupOnFocus(false);
                    rdpEventEndDate.set_showPopupOnFocus(false);
                    rdpEventStartDate.get_dateInput().focus();
                    rdpEventEndDate.get_dateInput().focus();
                    rdpEventStartDate.hidePopup();
                    rdpEventEndDate.hidePopup();
                    rdpEventStartDate.set_showPopupOnFocus(true);
                    rdpEventEndDate.set_showPopupOnFocus(true);
}
Ashraf
Top achievements
Rank 2
 answered on 19 Nov 2012
1 answer
121 views
Hi,

how can I use RadToolBar to perform custom Commands in RadGrid. I would like to use RadToolBar to edit delete and add records. Can anybody please suggest a way to achieve this.

Thanks in advance.
Shinu
Top achievements
Rank 2
 answered on 19 Nov 2012
1 answer
44 views
The problem that I have is the following.
I have created a skin for RadDatePickers similar to this
<telerik:RadDatePicker runat="server" DateInput-DateFormat="dd/MM/yyyy" >
<Calendar>
    <FooterTemplate>
       <div style=" text-align: center">
         <a  href="#" onclick="SelectToday(this)" >Today</a>
        </div>
    </FooterTemplate>
</Calendar>
</telerik:RadDatePicker> 

Basically, it is just adding a footer with a link in it to the calendar used by the RadDatePicker. This skin works well in all of the pages of my application whenever I use a RadDatePicker. The problem is that the RadDatePickers used in the filtering section of RadGrids do not seem to apply this skin defintion. I have tried to apply it programatically in the RadGrid ItemCreated event with no luck.
Why is that? And what could I do to be able to apply my skin in the RadDatePickers within the filtering section of RadGrids?
Eyup
Telerik team
 answered on 19 Nov 2012
9 answers
196 views
Hi,

I want to use the custom data binding approach for the rad time picker as mentioned here:

http://demos.telerik.com/aspnet-ajax/calendar/examples/datetimepicker/customcollection/defaultcs.aspx

However, even in the demos ( I am accessing the site from INDIA), if I select some time say 9:30 am, it shows up on the time picker as 7pm. 7pm is the local time (IST) when I accessed this. 

Ideally this should show up as 9:30 am only and the selected date of the time picker should be today's 9:30 am. 

Please let me know how to proceed with it. 

Steps to repro:
  1. Just access the link from any other time zone apart from the time zone of the server.

Regards,
Vishesh
Radoslav
Telerik team
 answered on 19 Nov 2012
1 answer
89 views
Hi,
I am using SelfHierarchy within my RadGrid and would like to use Export functionality.
My CommandItemSettings are;
<CommandItemSettings ShowExportToExcelButton="true" ShowExportToWordButton="true"
 ShowExportToPdfButton="true" ShowRefreshButton="false" ShowAddNewRecordButton="false">
</CommandItemSettings>
Commands on MasterTableView are shown as expected but on details tables are not. Even ShowRefreshButton="false" ShowAddNewRecordButton="false", details table shows those buttons and hides "ExportTo...." buttons. I would like to hide all CommandButtons (or Command row) on details tables. Please refer to attached screen-shot for the unexpected behavior.

Any help would be greatly appreciated.
Radoslav
Telerik team
 answered on 19 Nov 2012
3 answers
876 views
Hi,  radgrid
    I wish to get the value of the datafield of a column programmatically, however when I type Columns[0]., intellisence
does not show the datafield option. I have to use the Uniquename instead, however this will not always be the same as the datafield and thus could cause problems. Please help.




GridFilteringItem item = MasterTableView.GetItems(GridItemType.FilteringItem)[0] as GridFilteringItem;
                
             
                for (int i = 0; i < Columns.Count - 1; i++)
                    {

                    Type colType = Columns[i].DataType;
                    Telerik.Web.UI.GridColumn column = Columns[i];
                    string colName = MasterTableView.Columns[i].UniqueName;

                    if (colType == typeof(System.String) && (Columns[i].Visible))
                    {
Andrey
Telerik team
 answered on 19 Nov 2012
1 answer
123 views
Hi,
     How can I hide the cancel button in edit form from code behind. thanks in advance
Allen
Shinu
Top achievements
Rank 2
 answered on 19 Nov 2012
2 answers
324 views
Hi,
     How can I change the color of the selected row in the grid.
thanks
RT
Ryan
Top achievements
Rank 1
 answered on 19 Nov 2012
0 answers
47 views
On moving the grid to right most then there is misalignment in header and data . I am using office silver 2007 theme and gridlines are enabled and columns width is fixed . Master table's table layout fixed property is not reflecting anything .The problem is only in IE not in any other browser . Currently i am using IE9.  kindly help me for that 
Mukul
Top achievements
Rank 1
 asked on 19 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?