Hi, I'm trying to pass a parameter in the GridButtonColumn's CommandArgument and CommandName field. From what I can see in the examples, I should be able to just put in the field, like this.... CommandArgument="Part_id", however, it does not seem to pass the param back to the code behind. I'm using the RadGrid1.ItemCommand event handler and it kicks off that event just fine. Here is the button and the code behind and the error....
<telerik:GridButtonColumn ButtonType="LinkButton" HeaderText="Additional<br />Process" CommandArgument="Part_id" CommandName="Part_id" Text="View" UniqueName="lnkPartID" DataType="System.Int32"></telerik:GridButtonColumn>
Private Sub RadGrid1_ItemCommand(sender As Object, e As GridCommandEventArgs) Handles RadGrid1.ItemCommand
Dim partID As Integer = CInt(e.CommandArgument)
code....code.... .code....
End Sub
Error...
Input string was not in a correct format...
The value is an integer.
Many thanks,
-Erich Neubert
Hi,
I have a control (PDFViewer) that make callbacks on save, download, etc.., and i manage this events in server side.
The control in isolation works well, I receive the events on the server. But when I place it inside a RadWindow or a RadSplitter I stop receiving the events on the server.
Any idea what the problem might be? Thanks!

I would like users to land on a particular step based on a parameter passed to the page. I would like to hide all previous steps when this occurs. I am able to loop through the existing steps in the wizard, determine if the step is before the "LandingStep", and hide the previous step. I then set the "LandingStep"... StepType to "Start".
This all works, however setting the previous step's visible property to "False" does not hide them. I would think if a step has Visible="False" set it would not render. But the steps still show up. I have tried to hide the steps in Page Load as well as Wizard_PreRender.

I have created a custom button to set/change a file tags (this would be a DB column I will handle). I am trying to call/open the new folder dialog and use it's textbox to set or modify a file tags, my code is:
<telerik:RadFileExplorer runat="server" ID="telerikFileExplorer" RenderMode="Lightweight" Width="650px" Height="480px"
OnExplorerPopulated="telerikFileExplorer_ExplorerPopulated" OnClientLoad="fileExplorerInit" OnClientItemSelected="fileExplorerItemSelected" OnClientFolderChange="fileExplorerFolderChanged">
<Configuration AllowFileExtensionRename="false" AllowMultipleSelection="true" />
</telerik:RadFileExplorer>
<script type="text/javascript">
function fileExplorerInit(fileExplorer, args) {
var toolbar = fileExplorer.get_toolbar();
toolbar.add_buttonClicked(toolbarClicked);
setButtonEnableState(fileExplorer, '', 'ChangeTags');
}
function toolbarClicked(toolbar, args) {
var buttonValue = args.get_item().get_value();
if (buttonValue == 'ChangeTags') {
//Call open NewFolder dialog and post to update new value;
}
}
function fileExplorerItemSelected(fileExplorer, args) {
setButtonEnableState(fileExplorer, args.get_item().get_extension(), 'ChangeTags');
}
function fileExplorerFolderChanged(fileExplorer, args) {
setButtonEnableState(fileExplorer, args.get_item().get_extension(), 'ChangeTags');
}
function setButtonEnableState(fileExplorer, extension, command) {
var button = fileExplorer.get_toolbar().findItemByValue(command);
button.set_enabled(!(typeof (extension) == 'undefined' || extension == null || extension == ''));
}
</script>

.RadSiteMap.RadSiteMap_rtl .rsmLevel .rsmNodeLines .rsmItem {padding-right:.83333em;padding-left:0;background:url(WebResource.axd?d=f48wGjvl_0dfjPmNr9tLOFvnMRB1CLi8n-kjtv2310YCqz9WudUCfxBHSq03EKuBio5VhswoV9GN6Msark-MNoNqaK7fwka8kcEAy9exFY5jI8t7WdZDzHk_lf7RbccUA8wjhaQPz1iF6FN7gH24LNwpnC6TMkNoLUu3voY_UExZqI460&t=635496800280000000) right -2px no-repeat;}
RadMenu inside a ListView Item changes popup position after deleting or adding a new ListView Item. It seems as if RadMenu save its old x,y before ListView update.
It works fine only after page refresh but I can't do this not to lose Current Item and Current Page position and layout,
I there any method to let RadMenu recognize Page Length / ListView length changes?
Thanks

I am implementing the sitemap. When you add a child node, within the parent node it adds an unordered list with the class="rsmList rsmLevel1". I want to edit the unordered list that gets created to hold the child node to append a class to it like:
<ul class="rsmList rsmLevel1 newClass"></ul>
However, it seems like I can only edit the class of either the parent <li> or the child <li> node. Is there a way to edit the class of the <ul> that gets grouped with the child node?

Good day. I am currently using diagram in our application. I use Server-Side Programming and bring all data from database. It builds diagram when I add a new shape to it, but when I added connection to existing shape (from 3 to 2) I've gotten the error( see attached files)
private void BuildProcess()
{
ProcessDiagram.ShapesCollection.Clear();
ProcessDiagram.ConnectionsCollection.Clear();
string primaryEventGUID = SetPrimaryEvent();
if (primaryEventGUID != string.Empty)
{
ProcessEvent primary = new ProcessEvent(primaryEventGUID);
List<ProcessConnection> connecList = new List<ProcessConnection>();
string vSQL = "SELECT ProcessConnectionGUID FROM tblBPM_ProcessConnections WHERE ProcessGUID='" + processGUID + "' ORDER BY OrderNumber";
IDataReader getList = DB.GetRS(vSQL);
while (getList.Read())
{
connecList.Add(new ProcessConnection(DB.RSFieldGUID(getList, "ProcessConnectionGUID")));
}
getList.Close();
if (connecList.Count > 0)
{
foreach (ProcessConnection conn in connecList)
{
DiagramConnection connection = new DiagramConnection();
connection.FromSettings.ShapeId = conn.eventGUID;
connection.ToSettings.ShapeId = conn.nextEventGUID;
connection.ContentSettings.FontWeight = "bold";
connection.Editable = false;
connection.EndCap = Telerik.Web.UI.Diagram.ConnectionEndCap.ArrowEnd;
connection.StrokeSettings.Width = 8;
connection.HoverSettings.StrokeSettings.DashType = Telerik.Web.UI.Diagram.StrokeDashType.DashDot;
connection.Id = conn.guid;
connection.ContentSettings.Text = conn.connection;
connection.FromSettings.Connector = "Bottom";
connection.ToSettings.Connector = "Top";
ProcessDiagram.ConnectionsCollection.Add(connection);
}
}
List<ProcessEvent> eventList = new List<ProcessEvent>();
vSQL = "SELECT ProcessEventGUID FROM tblBPM_ProcessEvents WHERE ProcessGUID='" + processGUID + "'";
getList = DB.GetRS(vSQL);
while (getList.Read())
{
eventList.Add(new ProcessEvent(DB.RSFieldGUID(getList, "ProcessEventGUID")));
}
getList.Close();
if (eventList.Count > 0)
{
foreach (ProcessEvent item in eventList)
{
EventType type;
if (item.guid == primary.guid)
{
type = EventType.PRIMARYEVENT;
}
else if (item.type == 3)
{
type = EventType.EVENT;
}
else
{
type = EventType.TERMINATE;
}
DiagramShape shape = GetShape(type, item.events, item.guid);
ProcessDiagram.ShapesCollection.Add(shape);
}
}
}
}
private string SetPrimaryEvent()
{
string primaryGUID = string.Empty;
string vSQL = "SELECT StartEventGUID FROM tblBPM_Processes WHERE ProcessGUID='" + processGUID + "'";
IDataReader getPrimary = DB.GetRS(vSQL);
if (getPrimary.Read())
{
primaryGUID = DB.RSField(getPrimary, "StartEventGUID");
}
getPrimary.Close();
StartEventGUID = primaryGUID;
ViewState["StartEvent"] = primaryGUID;
return primaryGUID;
}
private DiagramShape GetShape(EventType type, string text, string value)
{
if (text.Length > 25)
{
text = text.Substring(0, 25) + "...";
}
if (type == EventType.TERMINATE)
{
text = "Ending Event";
}
DiagramShape shape = new DiagramShape();
shape.Id = value;
shape.ContentSettings.Text = text;
shape.MinWidth = 10;
shape.Width = 275;
shape.Selectable = false;
shape.ContentSettings.FontFamily = CobbleStoneCommon.AppLogic.AppConfig("UI_AppFontName");
shape.Editable = false;
shape.ContentSettings.Color = "#fff";
shape.ContentSettings.FontStyle = "fill:white";
switch (type)
{
case EventType.PRIMARYEVENT:
{
shape.FillSettings.Color = "#4286f4";
break;
}
case EventType.EVENT:
{
shape.FillSettings.Color = "#F18100";
break;
}
case EventType.TERMINATE:
{
shape.FillSettings.Color = "#13d86f";
break;
}
}
return shape;
}
If it is possible to connect existing shape and what cause this error? Thank you.

I'm using v2019.2.514 and I noticed that the height of my RadWindow differs between IE and Chrome. I set a static height and do not use AutoSize.
Here's my how I define the window:
<Telerik:RadWindow
ID="wndJobUsers"
runat="server"
Width="1050px"
Height="820px"
Modal="true"
VisibleStatusbar="false"
AutoSize="false"
ReloadOnShow="true"
OnClientClose="OnShowUsersClose"
ShowContentDuringLoad="false"
meta:resourcekey="wndJobUsers"/>
In IE developer tools, I see that the height is set to 820px and all looks fine.
In Chrome, I see that the computed to 859px.
I did search the forums and did find some posts that referred to this extra 39px but they are quite old and the response to these post note that there's an issue with Chrome and iframes but only refer to windows that are smaller than 150px. In my case, the window way beyond this threshold.
Any ideas?
Thanks
Loy.

Hello Guys,
i need to use MaxLength Property in GridBoundColumn But it is not working,
Is there any other way to limit the length in Clientside
Thank you
Ravi
