window.OnClientAppointmentsPopulating = function (sender, eventArgs) { var combobox = $find("<%=ddlCatToShow.clientID %>"); var list = ""; var items = combobox.get_items(); var array = combobox._checkedIndices.toString().split(',') for (var i = 0; i < array.length-1; i++) { var item = items.getItem(array[i]); //alert(item.get_text()); //alert(item.get_value()); list += item.get_value() + ","; } eventArgs.get_schedulerInfo().CategoryList = list.replace(/,\s*$/, "");};
| protected void RadGrid1_UpdateCommand(object source, GridCommandEventArgs e) |
| { |
| //Get the GridEditableItem of the RadGrid |
| GridEditableItem editedItem = e.Item as GridEditableItem; |
| //Get the Primary Key associated with the edited row |
| //Get the Control Values for the associated rows |
| //Insert and update soem information in the database |
| } |
| protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) |
| { |
| if (e.Item is GridDataItem && e.Item.OwnerTableView.DataSourceID == "SQLDataSourceParent") |
| { |
| //Get the GridEditableItem of the RadGrid |
| GridDataItem dataItem = e.Item as GridDataItem; |
| //Get the primary key value of the row using the DataKeyValue. |
| //Set the Template Column values based on database records |
| } |
| } |

I have a product in asp.net web forms which has 6000+ plus clients with differant databases.
I stored raddock state of user controls in database. now i want to convert my application to mvc. so now how could i load this state in mvc . user controls treated as partial view

So here is the button code
<div class="row mb-3">
<div class="col-lg-6">
<div class="form-inline">
<telerik:RadButton ID="btnRunAudits" runat="server" SingleClick="true" OnClick="btnRunAudits_Click" CssClass="btn btn-info mr-3">
<ContentTemplate>
<i class="fal fa-long-arrow-right"></i>Execute System Edits
</ContentTemplate>
</telerik:RadButton>
<telerik:RadLabel ID="lblExecuteAuditHistory" runat="server" CssClass="time-stamp" Visible="false"></telerik:RadLabel>
</div>
</div>
<div class="col-lg-6 text-right">
<telerik:RadButton ID="btnExport" runat="server" OnClientClicking="btnExport_onClientClicking" OnClick="btnExport_Click" CssClass="btn btn-info">
<ContentTemplate>
<i class="fal fa-file-export"></i>Export Option(s)
</ContentTemplate>
</telerik:RadButton>
<telerik:RadButton ID="btnRefreshErrors" runat="server" OnClick="btnRefreshErrors_Click" CssClass="btn btn-refresh" SingleClick="true" Width="100">
<ContentTemplate>
<i class="far fa-sync"></i> Refresh
</ContentTemplate>
</telerik:RadButton>
</div>
</div>
Here is what normally works but does not:
protected void btnRunAudits_Click(object sender, EventArgs e)
{
// CLF - the button should be disabled if you can't click. But just in case!
if (util.Db.GetUBUserAssign(ubid) == util.appUserId && IsValidEdit(util.Db.GetUBStatusByUBID(ubid).ToString()))
{
btnExport.Enabled = false; <==========
btnRefreshErrors.Enabled = false; <=========
//util.Db.RunUBAuditsBC(ubid);
BuildExceptionGrid();
if (gItemizedParsing.Items.Count > 0)
{
plcTraining.Visible = true;
}
else
{
Session["UBAuditOpen" + ubid.ToString()] = "T";
Response.Redirect("~/ubEditor.aspx?SysID=" + ubid.ToString(), false);
}
//add entry into audit history table
util.Db.SaveLastExecuteInfo(ubid, util.appUserId);
lbItemsRemaining.Text = util.Db.GetPotentialItemsRemaining(ubid);
DataTable dt = util.Db.GetLastExecuteInfo(ubid);
if (dt.Rows.Count > 0)
{
lblExecuteAuditHistory.Visible = true;
lblExecuteAuditHistory.Text = "Last Executed by " + dt.Rows[0]["displayNm"].ToString() + " at " + dt.Rows[0]["dateup"].ToString();
}
btnExport.Visible = true;
btnRefreshErrors.Visible = true;
}
else
{
btnRunAudits.Enabled = false;
}
}
I have verified it is hitting the code above noted with <========
Basically when they press the btnRunAudits button i want btnExport and btnRefreshErrors disabled until btnRunAudits is done.
HELP :)

I have a RadGrid that I want to show a Font Awesome icon as a button. The column is set as a GridButtonColumn ButtonType="FontIconButton" with the button css class set. When the CommandName is blank the icon shows. When I assign the value CommandName="GetvCard" the grid shows the text "GetvCard" and not the icon. I don't have any code attached to the button yet as I was testing the UI only. Full grid markup:
<telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="True" DataSourceID="ObjectDataSource1" AllowFilteringByColumn="true" EnableLinqExpressions="false">
<MasterTableView AutoGenerateColumns="False" DataSourceID="ObjectDataSource1">
<Columns>
<telerik:GridButtonColumn ButtonType="FontIconButton" ButtonCssClass="fad fa-address-card xgrid blue" CommandName="GetvCard" UniqueName="GetvCard" CommandArgument="GetvCard">
</telerik:GridButtonColumn>
<telerik:GridBoundColumn DataField="MYNAME" FilterControlAltText="Filter MYNAME column" HeaderText="Name" ReadOnly="True" SortExpression="MYNAME" UniqueName="MYNAME">
<FilterTemplate>
<telerik:RadTextBox ID="RadTextBox1" runat="server" ClientEvents-OnBlur="NameSearch" EmptyMessage="Name Search"></telerik:RadTextBox>
<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
<script type="text/javascript">
function NameSearch(sender, args) {
var tableView = $find("<%# TryCast(Container,GridItem).OwnerTableView.ClientID %>");
var mystring = sender.get_value();
tableView.filter("MYNAME", mystring, "Contains");
}
</script>
</telerik:RadScriptBlock>
</FilterTemplate>
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="DSCRIPTN" AllowFiltering="false" FilterControlAltText="Filter DSCRIPTN column" HeaderText="Title" SortExpression="DSCRIPTN" UniqueName="DSCRIPTN">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="EXTENSION" AllowFiltering="false" FilterControlAltText="Filter EXTENSION column" HeaderText="Extension" ReadOnly="True" SortExpression="EXTENSION" UniqueName="EXTENSION">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="CELLNO" AllowFiltering="false" FilterControlAltText="Filter CELLNO column" HeaderText="Mobile No." ReadOnly="True" SortExpression="CELLNO" UniqueName="CELLNO">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="INET1" AllowFiltering="false" FilterControlAltText="Filter INET1 column" HeaderText="Email" SortExpression="INET1" UniqueName="INET1">
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
Am I missing something?
Scott

Is it possible to rebind the tasks from client side?
Also to close the appointment-tooltip?
Hello
I am working with a line chart and currently I can only set the same type of marker for each data point as the blue line, but I need to set a different type of markers for each data point as the red line. How can I do it?

Dear Support Team and Community,
I have a trouble with the expansion of image properties in the ImageManager.
I would like to add more properties (eg. data-pre, data-post) beside the Telerik's default properties (Alt Text, Long Description, etc...).
Furthermore, I also would like to add the mentioned properties into the panel when I right click on the inserted image in the content of the RadEditor.
Would you help me to solve this problem or send me the relevant references or tutorials.
Thank you so much.
Best regards,
VoVo

Hi,
we have a solution where users can mark locations to architectual drawings simply by clicking the location on the drawing.
Everything works fine with desktop browsers, but not with an Android devices. The problem with Android is that does not get X and Y cordinates.
Click event is fired even with an Adroid but no cordinates.
Please see sample script below:
<script type="text/javascript">
var imageEditor;
function onImageLoad(sender, args) {
imageEditor = sender;
$telerik.$(imageEditor.get_viewport()).on("click", function (e) {
var statusBar = imageEditor._statusBar;
var posX = statusBar.get_coorX().innerText;
var posY = statusBar.get_coorY().innerText;
})
}
</script>

