Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
88 views
Hi Guys,

We used trial version of Telerik RAD Controls For Ajax Q2 2010 for one of our project and made it work as we want using CustomFileSystemProvider. Recently we bought a licensed version of RAD Controls which happened to be upgraded version Q3 2010. The problem is that after updating Telerik.Web.UI.dll in our project with new version our File Browser stopped working as before. In particular right panel of file browser stopped updating when one clicks on any folder on the left tree. After some debugging we found that ResolveDirectory function in CustomFileSystemProvider class for Q3 version is called only on initial load but not called on Folder Change. Note that ResolveRootDirectoryAsTree function is called and folder tree is still updated in left panel as it should.

Can you please give us some information what changes has been made in FileExplorer component which can cause this issue and how we can fix it. Our problem is that we need this component ASAP. Using previous version would be good temporary fix for us but it looks like we can not download full version for Q2 controls.

Regards,
Rob
Fiko
Telerik team
 answered on 23 Nov 2010
2 answers
133 views
Hi,

I have a Grid with a GridButtonColumn and a Column which invokes a TooltipManager.

The click functionality on the Buttons disappears as soon as I have triggered a Tooltip.

It appears that the OnItemCommand of the Grid is not fired anymore after triggering a ToolTip...

Do you have any clues?
I can send code if you want.

BR.
Marc

EDIT: When ButtonType=LinkButton it works well. It fails with ButtonType="ImageButton"
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 23 Nov 2010
2 answers
264 views
I am trying to get the value of radnumerictextbox in javascript.  When I set visible = true - it works fine.

Code creating the hidden field:

<

 

telerik:GridTemplateColumn DataField="RequestedHidden" Visible="false" ReadOnly="true" HeaderStyle-HorizontalAlign="Center"

 

 

UniqueName="Requested" HeaderText="Requested" ShowSortIcon="false">

 

 

<EditItemTemplate>

 

 

<telerik:RadNumericTextBox ID="tbxReqHidden" Value='<%#Bind("Requested") %>' CssClass="RightAlign"

 

 

runat="server" Culture="English (United States)" Type="Number" NumberFormat-DecimalDigits="0"

 

 

Width="90px" MinValue="0" DataType="System.Int32" Enabled="false" Visible="false" >

 

 

</telerik:RadNumericTextBox>

 

 

</EditItemTemplate>

 

 

</telerik:GridTemplateColumn>

Here is the JS:

 

 

function RequestedTotal(sender, args) {

 

 

var rdgrid = $find("<%=RadGrid1.ClientID %>");

 

 

var cell = sender.get_element().parentNode.parentNode;

 

 

var index = cell.parentNode.rowIndex;

 

 

var MasterTable = rdgrid.get_masterTableView();

 

 

var original = MasterTable.get_dataItems()[index - 2].findControl("tbxReqHidden");

 

tempValueRequested = sumInputRequested.get_value() - original;

sumInputRequested.set_value(tempValueRequested + sender.get_value());

}

Amanda
Top achievements
Rank 1
 answered on 23 Nov 2010
7 answers
163 views

I dumped out the contents of my asp.net application state and noticed many RadProgressContext instances.

Here’s a sample of the output I created while dumping the application state:

HttpContext.Current.Application[key]

HttpContext.Current.Application[key].ToString()

RadProgressContexta994ac27-7029-4afc-aba5-f71d1f53636d

Telerik.Web.UI.RadProgressContext

RadProgressContext9abbf6cc-983f-466d-bf0c-08d3144e0cc5

Telerik.Web.UI.RadProgressContext

RadUploadContext9abbf6cc-983f-466d-bf0c-08d3144e0cc5

Telerik.Web.UI.RadUploadContext

RadProgressContextb154df9a-33f7-4f30-b5ba-c27887fb83f1

Telerik.Web.UI.RadProgressContext

RadProgressContext0eaa8757-91ec-4dcf-8cd1-f6d8bf36bc52

Telerik.Web.UI.RadProgressContext

RadUploadContext0eaa8757-91ec-4dcf-8cd1-f6d8bf36bc52

Telerik.Web.UI.RadUploadContext


That is a sample, there are lots more of these. Does this indicate an issue? Do I need to do something to clean this stuff up?

 Thanks,

Genady Sergeev
Telerik team
 answered on 23 Nov 2010
3 answers
177 views
Does anyone know where I can get the default loading images to use in the loading panel?

thanks
Dimo
Telerik team
 answered on 23 Nov 2010
3 answers
164 views
I hope someone could please help me in the right direction. I have been trying to set the sub menu width to be 100% the width of the Root Item, It's currently looking a bit odd that the sub menu often ends up being quite a bit shorter than the width of the root item. Is this possible in the way the menu is structured or would it involve implementing some Java scripting?
Kalina
Telerik team
 answered on 23 Nov 2010
1 answer
74 views

Hello Telerik team,

I have a requirement where i have a Telerik rad grid which has a datasource of sharepoint list.
When you edit a record from the rad grid, I have to update the particular record and update the record.

I have a sharepoint list which have more than 150 columns in it.I am using sharepoint object model to update the sharepoint list item by saying
listitem.update();
 When I do that,it takes a lot of time to update the record.Is it because of so many columns or
i have more than 20000 records in the sharepoint list.Is there any better way of doing it.

One of my thought is that it might be taing so much time on update as
it has to create the content type for that particular list item.
Is there any way that if we can already define a content type for that list so that
the process of updation will become fast.

Any ideas to improve the performace is greatly appreciated.

Thank you,
Smith

Pavlina
Telerik team
 answered on 23 Nov 2010
2 answers
560 views
hello everybody

I have a question,
¿How can i get the number of columns in a radgrid when the property autogeneratecolumns is true?

when i add the columns programatically,  i use the next code
-----------------------------------------------
int cCount;
cCount = RadGrid1.Columns.Count;
-----------------------------------------------
and perfect,  cCount set the number of columms,  but, when i add columns automatically and the option autogeneratecolumns is in true, cCount only show zero,

thanks for the collaborationand sorry for my bad English
Adolfo
Top achievements
Rank 1
 answered on 23 Nov 2010
3 answers
126 views
I have a RadDatePicker control on a form and I use the following script to reset the form fields after I save the data through an AJax call:

$.fn.clearForm = function () {
    return this.each(function () {
        var type = this.type, tag = this.tagName.toLowerCase();
        if (tag == 'form' || tag == 'div'||tag=='tr'||tag=='td')
            return $(':input', this).clearForm();
        if (type == 'text' || type == 'password' || tag == 'textarea')
            this.value = '';
        else if (type == 'checkbox' || type == 'radio')
            this.checked = false;
        else if (tag == 'select')
            this.selectedIndex = '';
    });
};

If after filling out the form and saving it I clear the fields, using the above jQuery script, the required field validation I have set up for the RadDatepicker fires even if you select a date. If I try the isEmpty() client call on the control it returns false so it does have a value. If you type a date manually in the input field in stead of selecting it through the calendar the required field validation does not fire.
The problem is obviously the script I use to clear the form fields as it works fine if I do not reset the fields. Can you tell me how I could/should go about this?
Tsvetina
Telerik team
 answered on 23 Nov 2010
2 answers
396 views
Hi!

I need to make the image of an ImageButton in a ColumnTemplate  placed on the grid is replaced by another when  the MouseOver event occurrs. 

Somebody help-me?
Eduardo Chiletto
Top achievements
Rank 1
 answered on 23 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?