Hi,
We need to move the RadGrid selected Row Up and Down by using buttons Up and Down outside the RadGrid. We need to implement this approach on Urgent basis any Solution would be highly appreciated?
Thanks,
Sufyan
Hi,
I'm getting "Telerik.Web.UI ambiguous error in the ItemDatabound event while building my solution which is created in VS2010. I do verify the "bin" folder of application where I've only one Telerik.Web.UI DLL. Also, I verified the GAC and I don't see any DLL in the name of Telerik.Web.UI....Not sure from where this is referring the DLL and throwing ambiguous error, Can you pls help us on this?
Hello,
we have problem with custom skins and Telerik controls on Update Panels.
Scenario:
We have full customized Bootstrap themes generated from SCSS Telerik sources. Whole skin is in one file on our site, so no need to get skins from Telerik Skins Assembly.
We are using custom user control to injects css files to page (in example: Controls\CombinedReference.cs)
Problem:
When Telerik control is invisible on initial page load and postback occurs, our css files are overwritten using webresource.axd added after are links.
Just FYI - in test application, I have enabled EnableEmbeddedSkins to see overrided styles. I can disable it to prevent including themes, abut it still includes base CSS files in problem cases.
Test cases:
In test application, there is page "Default". Custom css files are injected in "OnPreRenderComplete" event and all works fine. Our CSS wins, because other CSS are included before.
Screens: 01-default1_before-postback.png + 02-default1_after-postback.png
But this works only if "base.OnPreRenderComplete(e)" is not called :-) In that case is result the same as next test case.
In page "Default2", there is out custom user control. This controls does almost the same, but in "Page_PreRenderComplete". Result is the same as in previous case with enabled base event. CSS are overwriten.
Screen: 03-default2_after-postback.png
Result:
So it seems that base "PreRenderComplete" event is responsible to injecting css files using handler to head and Telerik handlers somehow goes "the last".
Attached screens:
01-default1_before-postback.png - Initial page load
02-default1_after-postback.png - After postback - Good result
03-default2_after-postback.png - After postback - Wrong result
Test application:
[link removed]
I have 2 questions:
1) How to get working example to get our CSS always to win?
2) Is there any way, how to complete disable serving all Telerik css files (base and skins) using WebResource.axd and generate everything from source scss files?
Best Regards
René
<
telerik:RadSlider
runat
=
"server"
ID
=
"rslSol"
IsSelectionRangeEnabled
=
"True"
Width
=
"150"
ShowDecreaseHandle
=
"False"
ShowIncreaseHandle
=
"False"
ThumbsInteractionMode
=
"Push"
EnableDragRange
=
"False"
TrackMouseWheel
=
"False"
OnClientValueChanged
=
"rlsSolSlideChanged"
OnClientSlideEnd
=
"rslSolSlideEnd"
></
telerik:RadSlider
>
In my application, I have a Telerik RadGrid that contains student information. I'm using Visual Studio 2017 to load test some major changes to our system. To do that, I need to emulate a number of teachers performing various tasks in the system, each using the RadGrid to select a different student.
I've tried recording a Web Test, but I don't see anywhere to inject the selected student's ID value into the POST event that correlates with the ItemCommand event of the RadGrid that fires when a user clicks a student name on the grid.
I do see that the _EVENTTARGET parameter =
ctl00$ContentPlaceHolder1$rgStudentList$ctl00$ctl04$btnLName
(which is the asp linkbutton in the last name field) but the _EVENTARGUMENTS parameter is empty.
I have searched the entire POST request and don't see anything like the commandarguments value I need.
Can anyone help me?
public
class
cblItemTemplate : ITemplate
{
/// <summary>
/// Create the template
/// </summary>
/// <param name="container"></param>
public
void
InstantiateIn(Control container)
{
Panel pnl =
new
Panel();
//checkbox
CheckBoxList cbl =
new
CheckBoxList();
cbl.ID =
"cblCounty"
;
cbl.AutoPostBack =
false
;
cbl.DataBinding += cbl_DataBinding;
//button
Button btn =
new
Button();
btn.ID =
"btnApply"
;
btn.Text =
"Apply"
;
//button
Button btnClear =
new
Button();
btnClear.ID =
"btnClear"
;
btnClear.Text =
"Clear"
;
pnl.Controls.Add(cbl);
pnl.Controls.Add(btn);
pnl.Controls.Add(btnClear);
container.Controls.Add(pnl);
}
void
cbl_DataBinding(
object
sender, EventArgs e)
{
CheckBoxList cbl = (CheckBoxList)sender;
cbl.Items.Add(
new
ListItem(
"County1"
));
cbl.Items.Add(
new
ListItem(
"County2"
));
}
}
protected
void
RadGrid1_ColumnCreated(
object
sender, GridColumnCreatedEventArgs e)
{
if
(col.UniqueName ==
"county"
)
{
var cbl =
new
cblItemTemplate();
col.FilterTemplate = cbl;
}
}