I'm using the RadMap to show states of the USA.
layers[0] is Bing.
layers[1] contains a shape for every US state/territory.
layers[2-53] contain the counties (subdivisions) for each state/territory.
When the user clicks a state, I handle the shapeClick event to .show() the corresponding layer for the state's counties. This works fine.
Once layer 2 - 53 is shown, however, the shapeClick no longer fires when a shape in layer 1 is clicked, presumably because it is no longer "on top" and shapeClick is only fired for layer x. Is there a way to receive shapeClick events no matter which layer is "on top"?
If not, is there a way to get the data from the map's regular Click event and somehow use that to determine the shape that covers it in layer 1?
So in my RadGrid I have a template column that contains RadDropDownList in the EditItemTemplate. When this is modified in a row I would like to loop through the RadGrid and modify the other RadDropDownList in the other rows. I know how to loop through the grid but having trouble accessing the dropdown since the other rows are not in edit mode. Using the changeCellValue(cellToUpdate, value) of the BatchEditingManager but not having any luck with updating the dropdown.
<BatchEditingSettings EditType="Cell" />
<telerik:GridTemplateColumn HeaderText="IsBudget" UniqueName="IsBudget" SortExpression="IsBudget">
<ItemTemplate>
<asp:Label ID="lblIsBudget" runat="server" Text='<%# Eval("IsBudget") %>'></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadDropDownList ID="ddIsBudget" RenderMode="Lightweight" runat="server" DataValueField="IsBudget" >
<Items>
<telerik:DropDownListItem Text="False" Value="False" />
<telerik:DropDownListItem Text="True" Value="True" />
</Items>
</telerik:RadDropDownList>
</EditItemTemplate>
</telerik:GridTemplateColumn>
I am using a masked text box to allow my users to enter text that also has literal text in the box for example the text box has a the literal text of "My name is : " and I want the user to enter text of a date. Since every name is a different length I added the small loop below. Have not had anybody need more space. I also set the RadMaskedTextBox to always selectAll when the field is entered.
Here are the issues I am having
1) The FreeMaskPart does not show any mask space holders. This is good for the most part. when the user first enters the box and types there name all is good. For example they enter the name "Paul"
2) If the user leaves the text box and then re-enters it all text is selected. The issue keeps coming where the user enters the textbox then clicks to the last char in this example the "l". The reality is they clicked the end but they are not on the "l" they are at the end of the mask or in this example 36 charectors past the "l" 40 char of the mask - 4 char in "paul". If they hit the backspace or the left arrow key it appears that nothing is happening even though they are moving back along the mask. As stated in "1" above the "FreeMaskPart" option does not show any actual mask chars.
So what I need to be able to do is this:
1) not limit the mask to 40 chars but make is any lenght
2) when they re-enter the masked box and click the end of the box not have to hit the backspace or left arrow key 36 times from the example above
3) least favorite option show an underline for the masked character. When using "New Telerik.Web.UI.FreeMaskPart()" there is no masked text indication so they at least see where the cursor is in the box
Any help on this would be greatly appreciated
Thanks
Paul
RadGrid, ASP.NET, Web
if (gv.Items.Count > 0)
{
foreach (GridDataItem item in gv.Items)
{
if (item.Cells[2].Text == "Total")
{
item.BackColor = System.Drawing.Color.LightPink;
break;
}
}
}
Please Help Me
In Telerik:RadGrid , ASP.NET , Web,
<ClientSettings EnablePostBackOnRowClick="true">
<Selecting RowClick="true" />
</ClientSettings>
protected void RadGrid_ItemConmmand(object source, GridCommandEventArgs e)
{
if (e.CommandName == "RowClick")
{
var text = "";
text += "Row was clicked";
text += ", Index: " + eventArgs.get_itemIndexHierarchical();
alert(text);
}
Is the grammar correct?
Please Help Me
In Telerik:RadGrid , ASP.NET , Web,
<ClientSettings EnablePostBackOnRowClick="true">
<Selecting ColumnClick="true" />
</ClientSettings>
protected void RadGrid_ItemConmmand(object source, GridCommandEventArgs e)
{
if (e.CommandName == "ColumnClick")
{
var text = "";
text += "Column was clicked";
text += ", Index: " + eventArgs.get_gridColumn().get_element().cellIndex;
alert(text);
}
hi,
i would like to benefit the UI for ASP.NET AJAX + Kendo UI for jQuery which included in the DevCraft UI package.
but why this package is limited to Lit support with 10 support incidents while the basic package of asp.net ajax includes the priority support with unlimiited number of cases?
In RadGridView, ASP.NET , Web
Attached File : ex.png
I want to get both selected row and UniqueName when grid cell is clicked.
The source below can only get UniqueName.
void RadGrid1_ItemCommand(object sender, GridCommandEventArgs e)
function OnColumnDblClick(sender, eventArgs)
{
var columnUniqueName = eventArgs.get_gridColumn().get_uniqueName();
alert(columnUniqueName);
var oldClass = eventArgs.get_gridColumn().get_element().className;
eventArgs.get_gridColumn().get_element().className = oldClass + " doubleClickedColumnHeader";
$find("<%= RadGrid1.ClientID %>").get_masterTableView().fireCommand("customCommand",columnUniqueName);
}
function OnColumnClick(sender, eventArgs)
{
eventArgs.get_gridColumn().get_element().className = eventArgs.get_gridColumn().get_element().className.replace(" doubleClickedColumnHeader", "");
}
</script>
<telerik:RadGrid runat="server" ID="RadGrid1">
<ClientSettings>
<ClientEvents OnColumnDblClick="OnColumnDblClick" OnColumnClick="OnColumnClick" />
</ClientSettings>
</telerik:RadGrid>
Please Help Me.
I am still waiting for an answer.
telerik does not respond to customers.
telerik has a score of 0 for customer response.
why is telerik no customer service?
there is a function that the customer does not know when using telerik.
telerik is inconvenient to use.
Please answer the question anna posted on the telerik forum.
anna continues to wait for a reply.
====