Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
314 views
Hello,

So when I create a new content page, everything works perfectly fine, however, when I close out of that page and reopen it, some of my controls do not load properly, or I am unable to access there properties tab.

I get something similar to the following error for each control in the designer:

Error Creating Control - RadDatePicker2

[A]Telerik.Web.UI.RadDatePicker cannot be cast to [B]Telerik.Web.UI.RadDatePicker. Type A originates from  'Telerik.Web.UI, Version=2010.1.415.20, Culture = neutral, PublicKeyToken=121fae78165ba3d4' in the context 'LoadNeither' at location
'C:\Users\xxxxxxxx\AppData\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies\adxffflz01\telerik.web.ui.dll'.
Type B originates from 'Telerik.Web.UI,Version=2010.1.415.40, Cultue=neutral, PublicKeyToken=121fae78165ba3d4'
in the context 'LoadNeither' at location
'C:\Users\xxxxxxxx\AppData\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies\1qe758dw01\TelerikWeb.UI.dll'.


Also, whenever I add a new control to the form it says "A file with the name 'Bin/Telerik.Web.UI.dll' already exists. Do you want to replace it?"

I have tested and these issues are specific to my machine.

It seems that for some reason the controls reference two assemblies but I have no idea how to fix it. any help would be greatly appreciated.

Thanks,

Morgan

EDIT: It seems that this is actually a solution specifc. What I mean is that , If I create a website in some other solution it works fine. If I create new pages or sites in the current solution, then the errors occur.
Morgan
Top achievements
Rank 1
 answered on 28 Jul 2010
1 answer
281 views
Hi Sir,

I want to get File Name and File path form code behind in .cs File.

Basically My Button in Datalist and Selected file path view in Datalist's  Lable so i want that path form code behind.

Please give me proper solution.

Thanks

Kishor Dalwadi.
Petio Petkov
Telerik team
 answered on 28 Jul 2010
5 answers
138 views
Hello,

I really need your help...  I am using a "demo/trial" version of Asp.Net Ajax radtreeview control to load a hierarchy.  I am doing this as a proof of concept... before deciding to by the package.

Here is what I am struggling with:

I load the control with let say 1000 users.  I have a search textbox... where the user can enter a search criteria then click on a search button.

This search can result in multiple hits... lets say someone enter a search by first name ("kevin") and I found 10 hits.  I would like to find the first node... and scroll into view.  The user clicks on a "find next" button... and the next node will be selected and scroll into view ... etc. etc.

I would like to do this from serverside... this will make things easier for me.
If this is not doable... then my problem is mainly passing the 10 Ids from serverside to clientside... and use the clientside function. How can I do this?

Again... my first choice is to do this from serverside.  I'd appreciate any help.

Thanks
Andy.
Nikolay Tsenkov
Telerik team
 answered on 28 Jul 2010
1 answer
135 views
Hi,
          I have used RadGridNamespace.AsyncRequest in the javascript  to call the grid control. It works fine in Internet Explorer 8. But, It is not working in Mozilla Firefox. Please find the me solution as soon as possible.

- Asif.
Rosen
Telerik team
 answered on 28 Jul 2010
1 answer
73 views
I'm fairly new to .Net development, although I've been a developer for 22 years.

I have a project where the user wants a web-based app.  They basically will be filling in a form with dollar amounts for each category.

There are sections of the form, each section is divided into sub-sections (for lack of a better term), and each sub-section has 1 or more categories of information that the user will need to enter a dollar amount for.

The categories can change from time-to-time so I need the form to be dynamic.  I don't want to have to modify the form every time they need to add or take away a category.
I've got my database designed and built so that Sections, Sub-Sections and Categories are all table-dirven and all tied to their parent using a foreign-key field.

Basically what I need is a form that can load the categories from a table, whether there are 1 or 10 categories, and present them to the user in an easy-to-use manner so that the user can enter the dollar amounts, save their work, and move on.

A grid seemed like a logical way to do this, but what I don't like about what I've learned so far about the RadGrid is that they user would have to click "Edit" to be able to enter their work, then click "Update" to save it before moving on to the next category.  That's too much clicking and too clunky compared to what they have been doing:  Basically a form where they key in the numbers to each box and hit "Save" when they're done.

Is there a way to use the grid to accomplish what I'm wanting to do?  Can you edit cells in a grid without having to click "Edit" for each cell and "Update" for each cell when you're done?  I'm new to the Telerik controls so this may be able to be done and I just haven't figured out how to do it yet.

Or, is there a way to dynamically build a form with the necessary descriptions (I have the description in my table) and textboxes to enter the values for each Category?

Thanks in advance for any input/feedback that you have,
Mike T.
Sebastian
Telerik team
 answered on 28 Jul 2010
0 answers
46 views
We have a project that needs some pretty quick, well defined work done... we need help in creating a professional look-and-feel theme for our website (ideally cross-browser compatible where possible).  the website is built using asp.net 3.5, and the latest version of the telerik controls. 

We are struggling to resource this in house, and wondered if there are any theme/skin gurus out there who fancy having a look at this piece of work?

Lesley-Ann

enquiries@icenimobile.com


(PS: would also be interested in talking to anyone with any experience of using telerik controls to design a right-to-left theme with some 'interesting' fonts...)
Lesley-Ann
Top achievements
Rank 1
 asked on 28 Jul 2010
1 answer
123 views
I am using FileExplorer "out of the box"

 

<telerik:RadFileExplorer ID="FileExplorer" runat="server" EnableCreateNewFolder="True"

 

 

OnClientItemSelected="OnClientItemSelected" EnableCopy="True">

 

 

<Configuration ViewPaths="~/Documents/Site Documents" UploadPaths="~/Documents/Site Documents"

 

 

DeletePaths="~/Documents/Site Documents" MaxUploadFileSize="2048000" />

 

 

</telerik:RadFileExplorer>

 


When I try to drag-and-drop a .pdf file it works, when I try to do the same with a .gif or .htm between the same directories I get a "no permission to move file" error.

Any idea what I am doing wrong?

John
Petio Petkov
Telerik team
 answered on 28 Jul 2010
1 answer
91 views
Hi All:
I have RadGrid which conatin GridButtonColumn  with Groupable="true" and GroupByExpression="FullName Group By FullName" , But the grouping on this column doesn't work .

Best Regards


MBM
Rosen
Telerik team
 answered on 28 Jul 2010
2 answers
115 views
Hi guys!
[client side] I've added a keypress-hook to the <delete> button and added a call to the "FileExplorer.deleteSelectedItems".
Problem is; when editing(renaming) folder in treeview and pressing <delete>-button this is interpreted as "deleteSelectedItems".
I've tried to use the item.get_isUpdating() method, but this always returns "false". How do I figure out if an element is
in "edit-mode"? Do you have any other solution(s) to how this may be solved?

$(function() {
    hookDeleteEvent();
});
var keyCodeForDeleteButton = 46;
function hookDeleteEvent() {
    $(document).keyup(function(e) {
        if (e.keyCode == keyCodeForDeleteButton) {
            runDeleteOnSelectedElement();
        }
    });
}
 
function runDeleteOnSelectedElement() {
    var explorer = $find("<%=DocumentBrowser.ClientID %>");
    if (userMayDeleteSelectedFiles(explorer)) explorer.deleteSelectedItems();
}
 
function userMayDeleteSelectedFiles(explorer) {
    if (isInEditMode(explorer)) return false;
    return true;
}
 
function isInEditMode(explorer) {
    var item = explorer.get_selectedItem();
    return item.get_isUpdating();
}

BR
-Gard
Petio Petkov
Telerik team
 answered on 28 Jul 2010
1 answer
109 views
Hi there,
     I am customizing rotator, i have looked into pager integration in demos at telerik but my requirement is a little bit different. I want to add navigation links to the bottom of the rotator control as highlighted in the attached document, so that when hover it will take end-user to the hovered slide as well as when not hovered on any navigation link at the bottom of the rotator  it will retain its slide show. Hope i clear myself on this. Rest of the work is done except the navigation links at the bottom of the rotator. Any help in this regards will be highly appreciated.
     Moreover i have also tried following code, but i am sorry to say that client side function "set_currentItemIndex" failed work. Help needed.
function showItemByIndex(index) {<br>                    // gets reference to the rotator object<br>                    var oRotator = $find("<%= RadRotator1.ClientID %>");<br>                    // Sets currently shown item by its index<br>                    oRotator.set_currentItemIndex(index);<br>                }<br>

Regards,
Muhammad Yasir.
Pero
Telerik team
 answered on 28 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?