Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
162 views

I have some issue putting a datapager to a list box. When i run my aspx page, it doesnt show any paging
 Following below is my code
<telerik:RadDataPager ID="RadDataPager1" runat="server" PagedControlID="RadListBox1">
 </telerik:RadDataPager>
 
  <telerik:RadListBox ID="RadListBox1" runat="server" AutoPostBack="True"
                                                DataKeyField="EventLocation" DataSourceID="Listbox"
                                                DataTextField="EventLocation" DataValueField="EventLocation"
                                                DlisataKeyField="EventLocation" Skin="Black" allowpaging="true"
                                                style="z-index: 1; left: 1109px; top: 114px; position: absolute; height: 48px; width: 155px; text-align: center;"> <ButtonSettings TransferButtons="All" />
    </telerik:RadListBox>

Peter Filipov
Telerik team
 answered on 13 Jul 2011
3 answers
347 views
Hi,

I want to force my users to input data in a specific format. The format is digit-digit-capital letter-digit-digit-digit e.g. 30H120.

So if the user types a letter instead of a digit for the 2nd character, the control must simply reject the input. And if possible, when the user enters a small letter for the 3rd character, it must be auto capitalized.

Any ideas?

Thanks,
Christo
Christo
Top achievements
Rank 1
 answered on 13 Jul 2011
1 answer
148 views
Hi there!

1.
When the RadWindowManager property "ShowContentDuringLoad" is set to false and I open a radwindow, I get this awesome spinning progress indicator that looks like the same graphic as when I use a RadAjaxLoadingPanel.
2.
For my RadWindowManager, I also have the "Reload" behavior active.  so when I click the "reload" icon in the upper right of the radwindow titlebar, I see the same awesome spinning progress indicator.
3.
My page loads into the RadWindow and the awesome spinning progress indicator goes away.
4.
Something on my page triggers a postback.
5.
No awesome spinning progress indicator!!!

So my question is, is there a way for me to trigger the awesome spinning progress indicator when my page (the content inside a RadWindow) does a postback?
Marin Bratanov
Telerik team
 answered on 13 Jul 2011
2 answers
98 views
Hi,

Is there any way to change the opacity of the background shadow on a rad alert?

Basically I want to use it as a screen sheild, to mostly (but not completely) hide the contents of the window behind. Until the user clicks the prompt when they return to their desk.

I intend to use a client side popup for this.

Is it possible to change this setting?

Cheers

Tox
Toxic
Top achievements
Rank 1
 answered on 13 Jul 2011
6 answers
98 views
I have a stupid problem with RedWindow. In my App I open a RedWindow to show som einformation to users. And users Can change the and save it after that, or just click cancel button. When users click save button, I want to reload parent page. But if they click Cancel button, I don't want to refreshing parent.

This is my code:
In parent I have : 

<telerik:RadWindowManager ID="rwmMain" runat="server" EnableShadow="true">
           <Windows>
                <telerik:RadWindow ID="DataEntry" runat="server" Title="Data Entry"                    
                    DestroyOnClose="true" OnClientClose="closeModal" ReloadOnShow="true" Width="870" />
            </Windows>
 </telerik:RadWindowManager>

And This is my "closeModal" method:
function closeModal(sender, eventArgs) {
    var arg = eventArgs.get_argument();
   if (arg != 'close')
  {
            window.location.reload(true);
        }
}

Now, if I just open redwindow and click save button parent will be refresh, and for cancel button, the parent doesn't refresh. but the problem happens when I open redwindow and click on Cancel button, and after that opening redwindow again and this time click save button, the parent doesn't refresh. 
Azadeh
Top achievements
Rank 1
 answered on 13 Jul 2011
3 answers
168 views

 

Hi All,

First post as I've struggled to figure this one out, new to Telerik and .Net so possibly a bad combination!

I've taken the following snippet from the demo for using radspell with radgrid, but the problem I appear to have is that I also want to spellcheck the edit control of gridtemplatecolumns as well as gridboundcolumns. I'm trying to figure out how to just access the edit section of the gridtemplatecolumn (my attempt is currently commented out and marked PROBLEM BIT) the trouble is that whilst it works to a degree it appears to be duplicating a whole load of information when the spell checker pops up (there also appears to be a lot of white space in 'not in dictionary' area.

In short, it's misbehaving but I'm sure it must be something obvious I'm doing.

please help! I've been on this for 10 hours straight (as a learner!) and I'm fed up with it now!

Thanks in advance,

Dave


 

 

foreach (GridColumn column in editedItem.OwnerTableView.RenderColumns)

 

{

 

if (column is IGridEditableColumn && column.IsEditable)

 

{

 

IGridColumnEditor editor = editMan.GetColumnEditor(column as IGridEditableColumn);

 

 

if (editor is GridTextBoxColumnEditor)

 

{

 

string editorID = (editor as GridTextBoxColumnEditor).TextBoxControl.ClientID;

 

controlsToCheck.Push(editorID);

index++;

}

 

/*
PROBLEM BIT
if (editor is GridTemplateColumnEditor)

 

{

string editorID = (editor as GridTemplateColumnEditor).ContainerControl.ClientID;

controlsToCheck.Push(editorID);

index++;

}*/

 

 

 

}

 

}

RadSpell1.ControlsToCheck =

new string[index];

 

 

while (controlsToCheck.Count > 0)

 

{

RadSpell1.ControlsToCheck.SetValue(controlsToCheck.Pop(), controlsToCheck.Count);

}

RadSpell1.IsClientID =

true;

 

 


 

 

<telerik:GridTemplateColumn HeaderText="KSP/Benefit 1" UniqueName="cnpb_benefit1" DataField="cnpb_benefit1" Visible="False" FilterControlAltText="Filter cnpb_benefit1 column">

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

<asp:Label ID="lblcnpb_benefit1" runat="server" Text='<%# TrimDescription(Eval("cnpb_benefit1") as string) %>' />

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

<telerik:RadTextBox ID="txbcnpb_benefit1" Width="450px" runat="server" TextMode="MultiLine"

 

 

 

 

 

Text='<%# Bind("cnpb_benefit1") %>' Height="90px" MaxLength="500" />

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

<ItemStyle VerticalAlign="Top" />

 

 

 

 

 

</telerik:GridTemplateColumn>

 

Daniel
Telerik team
 answered on 13 Jul 2011
8 answers
486 views
We would like to utilize some functionality of the latest ASP.NET Ajax Library (specifically, Client Templates), but are running into problems when including RadControls (2009 Q3 release) on the same page.

It seems that the RadScriptManager outputs an earlier version of MicrosoftAjax.js on the page when necessary. This is understandable, as I'm sure many of your controls utilize its functionality. However, when including the latest release of the ASP.NET Ajax Library, there are major errors that occur on the page (certain functions/objects undefined, null references, etc.). My question is: is there a supported way (or even ANY way) to use a later version of the ASP.NET Ajax Library in conjunction with Telerik controls on a single page?
Simon
Telerik team
 answered on 13 Jul 2011
4 answers
82 views
Hi,

I have a issue in applying styles in chrome where the styles are changed to lowercase and I have the styles in mixed cases. I found a thread where the same issue is reported and they have suggested to change the render mode to "DIV" . But we were not able to change to "DIV" because of our CMS behavour as we dont want the content to render parent page styles. I was trying to change the "selectorText" value but there is no setter for this I guess and I am getting error saying "no Implementation". Can some one help with any other options?
Link for the other thread with the same issue.
http://www.telerik.com/community/forums/aspnet-ajax/editor/css-class-names-in-chrome.aspx


Thanks,
Akila.

Akila Kumarasamy
Top achievements
Rank 1
 answered on 13 Jul 2011
1 answer
145 views
Hi,

I'm trying to set up the RadGrid for self-referencing using HierarchyLoadMode = Client. I'm seeing a lot of "No Child Records Found" in my grid and read that I need to hide them during PreRenderComplete. However, my grid is inside a usercontrol so the PreRenderComplete event doesn't fire. Under regular circumstances I should to fire the method in the Page's PreRenderComplete, but this usercontrol is being wrapped into a sharepoint webpart which I don't have PreRenderComplete event for.

Is there any other way to make it possible to hide the "No Child Records Found" nested table views? I can't hide it during PreRender because it is Client Load Mode.

Thanks,
Gilbert
Genti
Telerik team
 answered on 13 Jul 2011
3 answers
124 views
I have a RadEditor in a Div on a page. I use JQuery to clone that Div and try to use it multiple times on the page. But JQuery Clone command doesn't seem to work on RadEditor. The new RadEditor object does not render correctly.

I wanted to know, if the RadEditor supports JQuery. And if it does, then is there any sample which I can refer to.
If the radEditor does not support JQuery, then is there any way to add new RadEditors on the page using javascript.

Thanks
Saurabh.
Rumen
Telerik team
 answered on 13 Jul 2011
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?