Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
89 views
I have a page with a grid on it. On all the page I can pinch but on the grid I cannot use it.

Is there a way that I get this working.

Best regards,
Lanzo van Slooten
Marin
Telerik team
 answered on 01 Dec 2014
1 answer
180 views
Hi,

I have a calendar that shows behind a combo box when the combo box is expanded.  I set the z-index of the calendar to 14000 (z-index="14000 !important") and was able to get it to show in front of the combo box, but only when it isn't expanded.  When I expand the combo box the calendar is displayed behind the drop down list.  The z-index of the drop down list is set to 10000.

See attached images.

What can I do to get it to show in front?

Thank You
Viktor Tachev
Telerik team
 answered on 01 Dec 2014
1 answer
84 views
I can not find a way to send a custom header with my request, for example i am using custom authentication and like to send the UserToken.

I am consuming the data source using a rad autocomplete box.

Can you provide a sample of adding\setting a custom header?
Angel Petrov
Telerik team
 answered on 01 Dec 2014
1 answer
121 views
Is there a way that the RadGrid can continuously accept record rows using only the keyboard (tab key?) without having the need to click the Add New Record button repeatedly?

Thank you.

Aaron 
Eyup
Telerik team
 answered on 01 Dec 2014
1 answer
93 views
We have a challenging problem that we need help with.   We are implementing a custom grid control
and using web part settings to enable/disable certain columns and buttons in
the control.   The issue is that when you
click to apply the web part settings and enable a column for example, the grid
does not change.    Furthermore, when you
refresh the page you get a Failed to Load Viewstate error.

 

The grid is created as a custom Sharepoint Web Part and then
adding the grid in CreateChildControls programmatically.

 

However, we are having the following issue with applying web
part settings that change the grid layout.

 

If you go into the web part settings for the grid and change
a setting that changes the grid layout (e.g. display edit button column) it
causes a Failed to Load Viewstate error on refresh.   If you close the browser and reopen it, it
works fine (edit column is displayed).  
Since the control layout is saved in the viewstate, this error makes
sense.  However, the question we need
help with is how to refresh the page programmatically when any web part setting
is changed so that the changes to the grid display.

 

The Web Part Editor fires an ApplyChanges event when you
click Ok or Apply.   This is what saves
the changes.   However, if we put a page
redirect in this method to refresh the page, then the web part setting changes
are not saved. 

 

What I need is a way first to detect whether any changes
were made to the web part settings and then if changes were made, to refresh
the page including the viewstate. 

 

If you look at the page lifecycle events below, this
detection would have to happen somewhere after ApplyChanges and somewhere
before the page is rendered.  Maybe in
SyncChanges?

 

 

 

Steps to Simulate Error

 

1. Create a simple grid in Sharepoint by inheriting from a
grid component

2. Create a web part setting that enables/disables one of
the columns.

3. Select to enable the column and then click Apply and then
Ok

 

Event Firing Sequence During Issue

 

Checked Enable Edit Column and then clicked Apply in the Web
Part Editor pane

SPGridWebPart Constructor <- This causes a postback and
it goes through the page lifecycle again

Event OnInit

Event CreateChildControls

Event SPGridEditor:CreateChildControls

Event Page Load

Event grid_Load

Event SPGridEditor:ApplyChanges <- The change to the edit
column enabled setting is done here, but after the child controls are already
created

Event SPGridEditor:SyncChanges

SPGridWebPart Constructor

Event Page Load Complete

Event OnPreRender

Event grid_PreRender <- Page is rendered without the edit
column even though box is checked to show the edit column

Event SPGridEditor:RenderContents

Clicked Ok in the web part editor pane

SPGridWebPart Constructor

Event OnInit

Event CreateChildControls

Failed to load viewstate error

 

Code Snippets Showing the Web Part Setting for
Enabling/Disabling Edit Column

 

        const Boolean c_boolEnableEditColumn = true;

        private
Boolean _boolEnableEditColumn;

       
[Category("Custom - Basics"),

       
Personalizable(PersonalizationScope.Shared),

       
WebBrowsable(true),

       
DefaultValue(true),

        WebDisplayName("Enable
Edit Column"),

       
WebDescription("Show an edit column with an edit button for each
item")]

        public Boolean
boolEnableEditColumn

        {

            get {
return _boolEnableEditColumn; }

            set {
_boolEnableEditColumn = value; }

        }

 

 

        public
SPGridWebPart()

        {

                                boolEnableEditColumn
= c_boolEnableEditColumn;

                }

 

 
Marin
Telerik team
 answered on 01 Dec 2014
1 answer
129 views
I have telerik RAD menu on my aspx page. The menu bind dynamically
starting from right to left.
But if I have only one parent menu then it submenus start cutting off
the screen, the problem is no longer persists if we have more than one
parent menu(in this case telerik classes handle it automatically). Also i
didn`t use any custom class over it.

here is my RAD Menu code in aspx page:
<telerik:RadMenu runat="server" ID="rdmnMainMenu" EnableAutoScroll="true" EnableRootItemScroll="true"
EnableRoundedCorners="true" EnableShadows="true" EnableOverlay="true" OnItemCreated="rdmnMainMenu_ItemCreated" Skin="Default" AutoSkinMode="false" OnClientItemClicked="mnuMain_clicked"
OnClientItemClosed="mnuMain_closed" Width="100%" OnClientMouseOut="mnuMain_MouseOut"
OnClientMouseOver="mnuMain_MouseOver" ClientKey="mnuMain_app" >
</telerik:RadMenu>


I have attached screenshots of error menu and expected menu.
see the img below
<img  src="http://i.stack.imgur.com/vO5QC.png">
<img alt="Expected RAD Menu" src="http://i.stack.imgur.com/lqxnw.png">

Thanks in advanced.
Peter Filipov
Telerik team
 answered on 01 Dec 2014
7 answers
3.3K+ views
<telerik:RadDatePicker ID="StartDateTextBox" MinDate='<%# DateTime.Now() %>'  OnInit="StartDatePicker_Init" DbSelectedDate='<%# Bind("StartDate") %>' runat="server" Width="120"  PopupDirection="BottomRight" EnableMonthYearFastNavigation="false" TitleFormat="MMMM yyyy"    >
                       <Calendar ID="Calendar1" runat="server" CssClass="calendarBook" ShowRowHeaders="false" ></Calendar>
                       <DateInput ID="DateInput1" runat="server" Enabled="false" DateFormat="dd-MMM-yyyy"  ></DateInput>
                    </telerik:RadDatePicker>

I have this date picker on my radgrid insert form.
I want to set the current dbselected/selected date to today, and also show the current date in the DateInput text.
So... basically default the "StartDate" above to the current date.

I can't seem to find the right code to get todays date to appear in the DateInput box.
I have it enabled="false" as I want users to only use the datepicker for dates, except for the initial default date of today.
Maria Ilieva
Telerik team
 answered on 01 Dec 2014
1 answer
35 views
Hi ,

   I am using RadDataPager SEO Paging in RadListView.

How can I change the url when I clicked the 1st page using radDataPager
/examples/raddatapagerseopaging/defaultcs.aspx?RadListView1=1

to
/examples/raddatapagerseopaging/defaultcs.aspx

Regards,
Madhu Maddi 
Kostadin
Telerik team
 answered on 01 Dec 2014
1 answer
65 views
I want to reuse/replicate the little X icon at the right side of the texbox when editing the datevalue of RadMonthYearPicker

I will implement my own onclick event for it

anyone know how to reuse/replicate the little X icon ?
Konstantin Dikov
Telerik team
 answered on 01 Dec 2014
1 answer
119 views
I just implemented a RadTreeView that has checkboxes on Parent Nodes, but no checkboxes on Child Nodes.  I achieved this by handling the NodeDataBound event and setting the child node checkboxes to display='none';.

Works great.

The problem I have is that there's another treeview on the same page and my checkboxes re-appear when I expand nodes in the other treeview.
Bozhidar
Telerik team
 answered on 01 Dec 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?