Progetto: <
telerik:RadComboBox
runat
=
"server"
Width
=
"300px"
ID
=
"comboProgetto"
>
</
telerik:RadComboBox
>
<
br
/>
E' sottoargomento di: <
telerik:RadComboBox
runat
=
"server"
Width
=
"300px"
ID
=
"comboSottoArgomento"
>
</
telerik:RadComboBox
>
Hi
I'm trying to show the map so it fills the entire screen viewing the whole world. The Map element fills the entire viewport and i'm trying to use the Extent function with various positions to make the map properly zoom in.
Example:
var markerLocations = [[70, -179], [-60, -179], [-60, 179], [70, 179]]; //Also tried just the two corner locations
var extent;
for
(var i = 0; i < markerLocations.length; i++) {
var loc = new kendo.dataviz.map.Location(markerLocations[i][0], markerLocations[i][1]);
if (!extent) {
extent = new kendo.dataviz.map.Extent(loc, loc);
} else {
extent.include(loc);
}
}
kendoMap.extent(extent);
This seems to work fine on some resolutions (1920x1080) but not on others (2560x1440)
The map element just doesn't zoom properly: it is zoomed out too far causing the map to contain an "empty" section to its right. The way i'm using the map is without a tile layer and using only shape layers. Since shape layers do not wrap around, it makes the whole thing look even worse: i'm using one shape layer to display the Day-Night boundary and if the map zooms incorrectly, that layer is being cut vertically at longitude 180 which gives a distinct "edge" to where the map ends.
I've tried using different locations for the extent function, but it seems that at some given "area" the extent function just stops doing zooming on the region given and just zooms out too far out. Trying to do the same with just the Zoom setting doesn't work since it only accepts integers.
Is there a way to get around this issue?
Is there also a way to get around the Shape Layer wrap around issue?(other than adding a second map next to the first to fake that)
Hi
I have put the image editor in a page that is overlaid on another page.
In the page with the image editor, I set an image, edited it, save it, and then close the page and info passed back to the page it is overlaid upon. This is all fine.
When I re-open the the page on top again to edit a new image, it is not correctly showing the new image passed in and is showing the previous image from "before the editing" of that image. When I reload the page it shows the new image correctly but I can't auto reload the page each time because then there will be an infinite loop of reloading the page.
I think this might be due to a cache. Is there a way to flush the cache and/or reload the image?
Thanks.
I would like to Hide/Show a group footer based on a condition.
I have tried to add code like this:
grid.MasterTableView.ShowGroupFooter = bSomeState; // boolean true/false value
I've tried adding that to the OnDataBound event, to the PageLoad event, to the Page PreRender event. But nothing works.
For example, lets say that there is no declarative markup added to the grid, so the default for ShowGroupFooter is false. Then I added a
grid.MasterTableView.ShowGroupFooter = true
statement in various places in the codebehind. The group footer is never shown.
Is there a solution here?
//<![CDATA[
// Dictionary containing the advanced template client object
// for a given RadScheduler instance (the control ID is used as key).
var
schedulerTemplates = {};
function
SchedulerFormCreated(scheduler, eventArgs)
{
// Create a client-side object only for the advanced templates
var
mode = eventArgs.get_mode();
if
(mode == window.Telerik.Web.UI.SchedulerFormMode.AdvancedInsert ||mode == window.Telerik.Web.UI.SchedulerFormMode.AdvancedEdit)
{
// Initialize the client-side object for the advanced form
var
formElement = eventArgs.get_formElement();
var
templateKey = scheduler.get_id() +
"_"
+ mode;
var
advancedTemplate = schedulerTemplates[templateKey];
if
(!advancedTemplate)
{
// Initialize the template for this RadScheduler instance
// and cache it in the schedulerTemplates dictionary
var
schedulerElement = scheduler.get_element();
var
isModal = scheduler.get_advancedFormSettings().modal;
advancedTemplate =
new
window.SchedulerAdvancedTemplate(schedulerElement, formElement, isModal);
advancedTemplate.initialize();
schedulerTemplates[templateKey] = advancedTemplate;
// Remove the template object from the dictionary on dispose.
scheduler.add_disposing(
function
()
{
schedulerTemplates[templateKey] =
null
;
});
}
// Are we using Web Service data binding?
if
(!scheduler.get_webServiceSettings().get_isEmpty())
{
// Populate the form with the appointment data
var
apt = eventArgs.get_appointment();
var
isInsert = mode == window.Telerik.Web.UI.SchedulerFormMode.AdvancedInsert;
advancedTemplate.populate(apt, isInsert);
}
}
}
//]]>
Hello,
I have 2 RadComboBox with multi checkboxes. The first Is enabled and the second no.
How can I write a JavaScript function the enable the second RadComboBox when the user select at least one checkbox in the first combobox?
Thank you in advance.
Luis
Hello,
I have 2 RadComboBox.
The first One Is enabled on Page load and shows States, with Checkboxes=true.
Here the user can select one or more States.
The second RadComboBox Is not enabled by default, and became enabled when the user select at least one state in the first combobox.
This combobox should display cities of the states selected in the first combobox.
What Is the best approach (better with examples) to implement this?
Thank you.
Luis
Hello,
in my ASP.NET WebForms page I have several RadComboBox like this:
<
telerik:RadComboBox
ID
=
"radComboBoxFormat"
EmptyMessage
=
"Format"
MarkFirstMatch
=
"true"
Width
=
"100%"
runat
=
"server"
CheckBoxes
=
"true"
DataTextField
=
"Description"
DataValueField
=
"Code"
>
</
telerik:RadComboBox
>
Now I'd like to write a method that iterates through selected items
and compose a List<string>, or a comme separated value long string,
of the item's selected code, but one only method valid for all
RadComboBox of the page (for not having duplicated code).
How can I achieve this?
Thanks a lot in advance.
Luigi
Hello,
I have this HTML code (for RadAutoCompleteBox) in my aspx page (WebForms):
<
telerik:RadAutoCompleteBox
RenderMode
=
"Lightweight"
runat
=
"server"
ID
=
"acbClient"
EmptyMessage
=
"Client"
OnClientDropDownItemDataBound
=
"RemoveDuplicated"
MaxDropDownHeight
=
"100"
DataTextField
=
"RagSoc"
DataValueField
=
"CodCli"
InputType
=
"Token"
DropDownHeight
=
"150px"
CssClass
=
"RadAutoCompleteBoxPopup_Default"
CollapseAnimation-Type
=
"OutElastic"
Width
=
"385"
>
</
telerik:RadAutoCompleteBox
>
and this in code-behind (VB.NET):
Protected
Sub
Page_Load(
ByVal
sender
As
Object
,
ByVal
e
As
EventArgs)
Handles
Me
.Load
If
GetClient(dtClient) =
True
Then
acbClient.DataSource = dtClient
acbClient.DataBind()
End
If
End
Sub
but when I click some letters (for example, "ac" like in the screenshoot),
seems that don't find the exact matching.
Why this happens?
Thanks a lot in advance.
Luis