Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
51 views
I have the scheduler working on our intranet as a room meetings scheduler for windows users showing the tool tip and context menus. Only certain window users will be able to add or edit the room meetings. All of this is working fine.

For iPad users I would only like to show the tool tip with the touch method. I don't need to show any context menus. iPad users can be redirected to a new page only for iPad users. I simply want iPad users to view the information about the room meeting as a tool tip.

How can I show the tool tip with the iPad touch method on the scheduled room meeting?
 
Helen
Telerik team
 answered on 03 May 2012
0 answers
116 views

We are evaluating “Telerik RAD Controls for ASP.NET AJAX”  for one of our applications. We are planning to use “Telerik RadGrid” widely in all applications. We are trying to implement a functionality using RADGRID, the functionality description is given below.

  1. We will bind the custom objects to the RADGRID and multi-edit option is provided at command template level. The Grid data is available in view state. User can edit the data and update it at any point of time.

By clicking on button (Like Save Button), We need to find whether RADGrid has encountered any change in the bind data. This has to be implemented at both client and server side. Please let us know the best approach.

Yoganand
Top achievements
Rank 1
 asked on 03 May 2012
4 answers
140 views
I'm in a project where I'm replacing our silverlight image viewer with the RadImageEditor. I can get images to display but the first time I hit the page there is a very long (5-10 second) delay before the image first appears. Now if I hard code the imageurl to a particular file then it's nearly instant. But I am using the technique of handling the OnImageLoading event and manually setting the EditableImage to the image editor. I do this because I have a grid with rows and each grid selection causes the image editor to display a different preview.

Once the first image gets displayed, all subsequent image changes are nearly instant. Is there something I'm doing wrong that is causing the 5-10 second delay on first time page load? In debug the event gets fired and processed right away but it doesn't get displayed right away. Just default image editor settings, nothing specific.

In short this is what I'm doing:

private void DisplayFax()
{
    faxImage.ImageUrl = GetRandom();
}
 
protected void faxImage_OnImageLoading(object sender, ImageEditorLoadingEventArgs e)
{
    EditableImage img = new EditableImage(GetMemoryStreamOfFile());
    e.Image = img;
    e.Cancel = true;
}

The image editor is in an UpdatePanel set to conditional and all defaults:

<asp:UpdatePanel ID="previewFaxUpdatePanel" runat="server" UpdateMode="Conditional" RenderMode="Inline">
     <ContentTemplate>
          <telerik:RadImageEditor ID="faxImage" OnImageLoading="faxImage_OnImageLoading" runat="server" Width="100%" Height="100%" Skin="Windows7" />
     </ContentTemplate>
</asp:UpdatePanel>

Any advice? The silverlight viewer displays my image immediately and the customer won't accept a 5-10 second delay on first load.
Niko
Telerik team
 answered on 03 May 2012
4 answers
74 views
Hi,

To enable keyboard navigation of radScheduler I have set TabIndex of scheduler to some value. I have some other controls as well in the page.

Now the problem is even if users focus is on some other control say textbox, and user presses any navigation arrows from keyboard scheduler cells are also highlighted, it seems that scheduler is navigating even if my focus is not on scheduler.

I have created a sample project to demonstrate this behaviour. But this forum is not allowing me to upload zip files.

Attached is my scheduler control definition

<telerik:RadScheduler ID="calendarView" runat="server" Skin="Office2010Silver" DataEndField="End"
           DataKeyField="VaultID" DataStartField="Start" DataSubjectField="Subject" SelectedView="MonthView"
           RowHeight="20px" TabIndex="4" ReadOnly="true" ShowFullTime="true" Width="100%"
           ShowFooter="false"  OnAppointmentCreated="calendarView_AppointmentCreated"
           CustomAttributeName="Location" Height="500px"  >
            
           <TimelineView UserSelectable="false" />
           <MonthView VisibleAppointmentsPerDay="4" />
       </telerik:RadScheduler>

Steps are:
1. Highlight the any other control that scheduler in the page and press navigation keys.
Plamen
Telerik team
 answered on 03 May 2012
1 answer
59 views
hi guys
i wanna add telerik component in all page in one folder not in web config
because when i load it in web config Website speed comes down.

can help me plz?
tnx
Slav
Telerik team
 answered on 03 May 2012
4 answers
674 views
Sounds simple, but, I'm trying to avoid the double border. Meaning, I can easily set the WeekendDayStyle.BorderWidth = 1, BorderColor=Black and BorderStyle = Solid, but, what happens is that all the days in the middle of the calendar control now have double borders because it's putting a border on the cell next to it also.

Is there a way to get a single border around each cell? So, in effect, it would need to know if a cell next to it already has a border?
Daniel
Telerik team
 answered on 03 May 2012
5 answers
518 views

Hello Experts,
I am using Radgrid  - which as Add a new record.

i am using this code to implement Add New Record:
-----------------------------------------

    <CommandItemTemplate > 
      <asp:Button ID="btnInsertRecord" Text="Insert Record"  Runat="server" CommandName="InitInsert"  Height = "25" Width="100" Font-Bold="true" ></asp:Button> 

    </CommandItemTemplate>

-----------------------------------

In the Add mode - The grid columns are  displayed in vertical format(one below the other), can we make it to display in Horizontal format....

If possible please give me sample code...

Thanks

Shinu
Top achievements
Rank 2
 answered on 03 May 2012
4 answers
78 views
I have a RadComboBox that gets the data from a wcf-webservice.

In OnClientItemDataBound i change the text to be able to show multicolumn data and it works fine.
Now I wants to be able to select multiple items and I don´t know how to do that.

My idea is
I've tried to add a checkbox in OnClientItemDataBound  and I get the checkbox in the dropdown.
var item = e.get_item()
item.set_text('<p class="rcbItemKey"><input type="checkbox">' + item.get_value() + '</p><p class="rcbItemData">'+ item.get_text() + '</p>');

In OnClientBlur I'm will loop through all the items in the dropdown and for each item check if the checkbox is selected.  If it is checked I will add the value of the item to SelecteValue as a ;-separated list.

How do I find the checkbox in OnClientBlur?
Any other idea on how to solve it?
Another problem is that if I select 2 items in the dropdown and close the dropdown and the wants to open it again, the values should be selected.  Is it possible to solve?
Ivana
Telerik team
 answered on 03 May 2012
6 answers
292 views
I'm wondering if there is something I can do to make the line chart go a lot faster.  I have a couple thousand points I want to plot and use the code below.  It takes almost 15 seconds to make the graph.  When I cut the number of points to plot to 200, it takes less than a second.  Here is the code I'm using

ChartSeries chartSeries = new ChartSeries("Altitude", ChartSeriesType.Line);

chartSeries.Appearance.ShowLabels =

false;

incrementCount = 1;

for (int i = 0; i < listData.Count; i = i + incrementCount)

{

chartSeries.AddItem(

new ChartSeriesItem(listData[i].x, listData[i].y));

}

RadChart2.AddChartSeries(chartSeries);

RadChart2.ChartTitle.TextBlock.Text = title;

RadChart2.PlotArea.XAxis.AxisLabel.TextBlock.Text =

"Distance (Miles)";

RadChart2.PlotArea.XAxis.AxisLabel.Visible =

true;

RadChart2.PlotArea.XAxis.IsZeroBased =

true;

RadChart2.PlotArea.YAxis.AxisLabel.TextBlock.Text = yAxisLabel;

RadChart2.PlotArea.YAxis.AxisLabel.Visible =

true;

RadChart2.PlotArea.YAxis.IsZeroBased =

false;

Ves
Telerik team
 answered on 03 May 2012
0 answers
81 views
hi

That is an security problem "Enabled = false"

It is still possible to use Firebug, or another tool, to tamper with the submitted value, and to remove the "disabled" HTML attribute to change the value. Any suggestion to solve this? This can be easly be hack the data by changing the value.

From louisth
Tan
Top achievements
Rank 1
 asked on 03 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?