Hi from France !
In my project i've got problem with this situation :
I've got a radgrid, x columns.
My first column is used for generate my rowSpan.
<telerik:GridBoundColumn UniqueName="idMaille" DataField="idMaille" Display="false"></telerik:GridBoundColumn>
while idMaille is the same, Merge my gridTemplate column : "M0"
i've set Freezecolumn to 2
HTML generate is like this :
Row 1 :
<tr>
<td>FirstColumn(idMaille) not displayed</td>
<td rowspan="2">My Text rowspanned </td>
<td> next column </td>
</tr>
Row 2 :
<tr>
<td>FirstColumn(idMaille) not displayed</td>
<td> next column </td>
</tr>
But because rowspan is set in my 2nd row, my 2nd column is in reality the third !
and when i move scrollbar, javascript set "display:none"
i think this problem can it resolved if we can specify fixed columns (id/property) and generate a css class for reference for javascript.
i'm remember in old project with infragistics, we specify columns who want freeze.
<
ClientSettings
><
Scrolling
AllowScroll
=
"true"
FrozenColumnsCount
=
"2"
UseStaticHeaders
=
"true"
/></
ClientSettings
>
<
MasterTableView
HeaderStyle-HorizontalAlign
=
"Center"
ShowHeadersWhenNoRecords
=
"False"
>
<
Columns
>
<
telerik:GridBoundColumn
UniqueName
=
"idMaille"
DataField
=
"idMaille"
Display
=
"false"
></
telerik:GridBoundColumn
>
<
telerik:GridTemplateColumn
UniqueName
=
"M0"
>
<
ItemTemplate
>
<
div
class
=
"rw0"
>
test
</
div
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
UniqueName
=
"M1"
>
<
ItemTemplate
>
<
div
class
=
"rw1"
>
test 1
</
div
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
MasterTableView
>
Hi,
Does anyone experience an issue with the menu not triggering the itemclick event.
I have recently had a forced windows 10 major update on my local development PC, but when I started to work on debugging a code, it looks like the item click event is no longer triggering.
I have the below code
AddHandler MainMenu.ItemClick, AddressOf MenuItemSelected
Then have the following eventhandler
Private Sub MenuItemSelected(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadMenuEventArgs)
But on putting a breakpoint, the eventhandler function never get triggered when I clicked on the menu,
Please let me know if I am missing something because this seems to be quite a simple code.
Thank you
Hi
Is there a way to optimize reports results. We are trying to use it in one of our products at ZTABS but when data gets larger, reports get really slow. What to do ? Specially in case of joins in the queries.
I have a rad grid full of keys assigned to an employee, which is populated from an employee selected in a combo box, and that information is pulled in from sql. I have the allow edit column turned on as there is one column that will need updating, the key status. All other columns are hidden when I hit edit. When the edit button is hit, a drop down box appears under the selected row, full of options for the status of the key. One should be selected, and then when update is hit, it should then change the key status in the grid. To do this, I need to pass a parameter, ID, to the update key store procedure I want to use for updating to the database. Each key has an ID, and upon editing a row, the parameter of course needs to be the value of the ID column in that selected row upon editing. How exactly do I implement this? Pictures attached to show what I am working with, things blurred out as necessary. I am working in VB.
I have 2 objects:
Checkbox1
ComboBox1
When the checkbox1 is checked Combobox1 becomes visible="true" and enabled.
I've used the AJAXManager UpdatedControls and this is working perfectly but the issue is that when im trying to use an eventhandler for example "OnIndexChanged" of Combobox1 it never gets fired.
Below is my sample code:
AjaxManager
<
telerik:RadAjaxManager
runat
=
"server"
ID
=
"RadAjaxManager"
DefaultLoadingPanelID
=
"RadAjaxLoadingPanel1"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"ComboCompanies"
>
<
UpdatedControls
>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"chkCompany"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"ComboCompanies"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
Hello guys,
We've faced an issue with context menu on several RAD controls when running on MacOS 10.14.x (Mojave) with FireFox 66.0.x (Quantum).
Using touchpad or mouse, when right clicking for context menu, it just flashed and doesn't stay open: it opens and then suddenly closes.
We are using Telerik Asp.Net Ajax version 2017.2.503.40 but it can be also replicated on your demo version:
https://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/columns/context-menu/defaultcs.aspx
https://demos.telerik.com/aspnet-ajax/scheduler/examples/overview/defaultcs.aspx
Not sure if you can provide a fast workaround for this but I just wanted to let you know.
I've checked for some open cases before creating this thread and hope I didn't duplicate something. Please move/close it if necessary.
Regards,
Andrei V.
Dear All,
i am new to telerik, especially radgrid. right now i am creating windows popup Employee selector using RadWindows, triggered by button show employee, and then calling another page with radgrid showing Employee record include filter on and paging, it's worked perfectly. But, there some error that i faced, everytime i'm doing filtering or paging on radgrid, after i clicked button close on popup radwindows and then i've clicked button show employee again, popup open but with previously action state that i've done on grid, either filtering or paging.
How can i refresh Radgrid into original state, like first time opening popup and showing radgrid data without filtering or paging state ?
Thanks.
<%@ Register TagPrefix=
"UC"
TagName=
"UCEmploye"
Src=
"../SIM/UcEmployeeBrowser.ascx"
%>
<asp:Button ID=
"btnSearch"
runat=
"server"
Text=
"..."
OnClick=
"btnSearch_Click"
CausesValidation=
"false"
CssClass=
"btn btn-primary"
Height=
"28px"
ToolTip=
"Click here to browse employee"
/>
<telerik:RadWindow ID=
"RwEmployeeBrowser"
runat=
"server"
Width=
"1200px"
Height=
"550px"
KeepInScreenBounds=
"true"
Title=
"Select Employee"
>
<ContentTemplate>
<UC:UCEmploye ID=
"UCEmploye"
runat=
"server"
/>
</ContentTemplate>
</telerik:RadWindow>
Using file explorer I am uploading files to my web server. The problem that I am facing is when I try to upload a file which contains <script></script> tags from a cross-origin (CORS), it fails showing a tiny red dot. However,the uploading of files containing script tags from 'same origin' succeeds.
Also note that Temporary folder is given enough permissions and I my web server is IIS. The error occurs in RadAsyncUploadScript.js while making an ajax request.
To be more specific the line "n.send(this.formData);" in RadAsyncUploadScript.js throws an error stating:
"Failed to load resource: the server responded with a status of 403 ()"
Thanks and Regards
Bhanu
protected
void grdOrderItems_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item.OwnerTableView.Name == "Steps")
{
if (e.Item is GridDataItem && !e.Item.IsInEditMode)
{
string stepId = e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["Id"].ToString();
GridDataItem item = e.Item as GridDataItem;
// item.DataItem is valid here
GridDataItem parentItem = item.OwnerTableView.ParentItem;
// parentItem.DataItem is returning null
}
}
}