Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
48 views

using

Telerik.RadDockUtills; is not supported in Q2 2008. What is the substitute for the same?

Bruno
Top achievements
Rank 2
 answered on 18 Aug 2008
11 answers
153 views
I've just updated a project from the old ASP.NET RadControls to the latest Prometheus version. I'm encountering a problem with results being returned to a combobox with Load On Demand enabled, which I was not seeing under the earlier version.

The problem occurs when a user types in part of a word, pauses, then types in the rest of the word. This results in OnItemsRequested being invoked twice. What I'm seeing is that sometimes the second invocation of the event completes first. This results in the combobox being updated twice, with the last update being for the first event. The upshot of this is that the combobox ends up displaying results for the partial word, not the full one.

For example, the user types in go, pauses, then adds the letters ld. Sometimes this would result in the combobox being filled with entries starting with gold, and sometimes just with go.

I'm comfortable with the reason for the arbitrary order of completion of the two events. That's due to some queries against a database running longer than others, and is something I have no control over.

What I'm not comfortable with is the combobox showing the "wrong" resuts when this happens. What I'd like to do is something along the lines of preventing the databind in OnItemsRequested if the text currently entered no longer matches what it was when the event was first fired. I can't see any way to do this however.

I've experimented with setting the ItemsRequestedTimeout which has helped, but not solved, the problem.

Can you suggest a solution? The only way I can see to solve this at the moment is to go back to using the non-Prometheus version of the control which did not have this problem.
Helen
Telerik team
 answered on 18 Aug 2008
1 answer
101 views

private void CreateToolTip()
 {
  GridDataItem DataItem;
  
  int iPageIndex = rgSNLoc.CurrentPageIndex;
  int iPageSize = rgSNLoc.MasterTableView.PageSize;
  int iFactor = iPageIndex * iPageSize;

  for (int i = iFactor; i < rgSNLoc.MasterTableView.Items.Count + iFactor; i++)
  {
   DataItem = rgSNLoc.MasterTableView.Items[i - iFactor] as GridDataItem;  

   if (sMultiAddr[i].Length == 1)
   {
    DataItem["loc_name"].ToolTip = sMultiAddr[i][0];
   }
   else
   {
    for (int j = 0; j < sMultiAddr[i].Length; j++)
    {
     if (j == sMultiAddr[i].Length - 1)
      DataItem["loc_name"].ToolTip = sMultiAddr[i][j];
     else
      DataItem["loc_name"].ToolTip = sMultiAddr[i][j] + "\n\n";
    }
   }
  }
 }

I wrote the above function and put it in the "PreRender" event handler of the RadGrid. What I want to do is to assign a unique tooltip to each row of a specified column in the grid, and the tooltip will still exist correctly even the user change the page size or switch to another page of the grid dynamically. However, if the user sort on a column, the value of the tooltips will become wrong. So how can I keep the tooltips correctly in this case? Thanks.

And I also have a question about DateTimePicker. Is there any function can validate the format of the input date? The problem is that even I type this "abcde" in the input area of the DateTimePicker, it still let me go when I out-focus the DateTimePicker. Thanks.

Yavor
Telerik team
 answered on 18 Aug 2008
1 answer
199 views
Hi there,

I have a RadTabStrip with RadMultiPage containing 4 RadPageView.
In each of the RadPageview, I have a ascx controls
The problem happens when I have other server controls such as datagrid or panel below the RadTabStrip/RadMultiPage/RadPageView.
There is a big empty space between the RadPageView and the datagrid, which I suspect are placeholders for the rest of the RadPageViews.
I tried using the property RenderSelectedPageOnly for both the RadMultiPage and all of the RadPageViews, but the white empty space still there.

Is there any other way to resolve the empty space issue when you have other server controls below the RadPageView?

I have checked the example on this link:
http://www.telerik.com/community/forums/thread/b311D-hmmd.aspx

It works great except for the postback when I click on the tabs. Is there a way to get rid of the postback when I select other tabs? 

Thanks in advance!
Ronny



Paul
Telerik team
 answered on 18 Aug 2008
3 answers
123 views
I have a grid where EnableEmbeddedSkins="false" and I am using the NextPrevAndNumeric paging style. Using 2008.2 RadGrid, I get two buttons (which appear to be for next / prev) in the pager and cannot turn them off..

Here is my definition of the pager: 

<

PagerStyle AlwaysVisible="true" Mode="NextPrevAndNumeric" NextPageImageUrl="~/images/pgNext.gif" NextPageText="Next" PrevPageImageUrl="~/images/pgPrev.gif" PrevPageText="Prev" />

As I indicated, the pager displays the word Prev, the page numbers and the word Next. However, there are blank buttons on either end of the pager.
Dimo
Telerik team
 answered on 18 Aug 2008
5 answers
267 views
I had a new grid on a new page that would not set a row into edit mode when the edit command button was clicked - though the OnEditCommand event was still firing.  After extended head-scratching I discovered that if you set ClientSettings-EnablePostBackOnRowClick="true" it will prevent the command buttons from functioning unless you include AllowRowSelect="true"...

<ClientSettings EnablePostBackOnRowClick="true">
     <Selecting AllowRowSelect="true" />
</ClientSettings>


Iana Tsolova
Telerik team
 answered on 18 Aug 2008
1 answer
76 views

Hi,

        I'm currently designing a web application which allows to create time sheet online.

So I have some prerequisite to select your scheduler control control:
  1. Allow custom selection to create activity (like outlook)
  2. Protect some cell ranges from activity creation
  3. Set a custom color for several time range
  4. Pop different context menu depending on which time range I clicked.
PS: I'm disposed to adapt your source code to my needs, but I want to know if  it's feasible with a minimum of modification within the control source.

Best regards,
Michael
Peter
Telerik team
 answered on 18 Aug 2008
1 answer
122 views
I want to load a RadEditor inside a tooltip and have most of the controls enabled.

I can load the editor fine, but my problem is when the Editor tries to open a window like the image manager.  The window opens, but it is behind the tooltip. 

How can I control the editor window z-index so I can force it to show above the tooltip?  Or is there a way of controlling the tooltip's z-index?

Thanks.
Tsvetie
Telerik team
 answered on 18 Aug 2008
2 answers
115 views
I have a need to pass a value to a RadWindow that can be used by the aspx page being loaded within the RadWindow to determine what controls will be dynamically added to a placeholder control within the aspx page being loaded into the RadWindow.

I have no problem passing the value in, but it appears there is a timing issue... meaning, if I use the onload event of the html body of the aspx to call a javascript method that gets the argument from the window... it is already too late now to use that value in the code behind of the aspx page being loaded within the RadWindow.

Is it possible to get the argument from the RadWindow using serverside code within the aspx being loaded so that I can be sure to have the value available at the right time in the Page Life Cycle to use it?  ...or maybe there is some other solution?

Please advise.

Thanks!

Michael
Michael
Top achievements
Rank 1
 answered on 18 Aug 2008
1 answer
126 views
Is it possible to open the AdvancedEditTemplate & AdvancedInsertTemplate into a RadWindow instaed of it opening in the same page all the time?  If so, I would like to do it with server side VB code instead of using javascript.  Do you have any examples of this?

Thank you
Peter
Telerik team
 answered on 18 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?