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

Hi,

I am using a custom Inline Edit in the scheduler. Iam able to open the Inline pop-up window add the required information and whenclicking on Insert (Button), it saves the information to the database but doesnot close the pop-up window and refresh the scheduler. I am doing this usingthe onappoinmentcommand event.

While trying to edit an appointment the customInline Edit pop-up window comes up and I am able to save the changes. Thepop-up window also closes appropriately but, the changes made to theappointment do not reflect in the scheduler.

I need help in this so that the pop-up window closesand the changes are reflected immediately on the scheduler.

Thanks

Sabarish

Veselin Vasilev
Telerik team
 answered on 24 Aug 2009
2 answers
199 views
I am trying to use GetRadWindow() but it blows up in javascript...

        function GetRadWindow() {  
            var oWindow = null;  
            if (window.radWindow)  
                oWindow = window.radWindow;  
            else if (window.frameElement.radWindow)  
                oWindow = window.frameElement.radWindow;  
            return oWindow;  
        }  
 

In my case (IE 8 in compatibility mode), window.radWindow is undefined, window.frameElement is null, therefore it blows up when trying to access window.frameElement.radWindow.

This happens in my "main" (default) page.
Does this happen because the page itself was not created by the RadWindow Manager?

Since my current page is not a RadWindow... How can I find its size so that I can size new windows accordingly?

Many Thanks


Eric
Eric
Top achievements
Rank 1
 answered on 24 Aug 2009
3 answers
184 views
I think my basic issue is that I have no idea how the RadFormDecorator is supposed to do its magic. It's a little black box that is supposed to do neat things but when it doesn't work we're sort stuck in the cold. I'd like to find documentation that explains for v2009.2.701.20 exactly how RadFormDecorator customizes the styles for specific controls for specific browsers. The problem I keep having is that various controls don't render properly and I feel I have no control over them. I don't like feeling helpless when it comes to code.

"How about an example" you ask?
Please go to http://drop.io/TonyGFiles and download a PDF called "Telerik Group Rendering.pdf".  (Anyone have a better idea for making files and/or images available in this forum?)  That document has screen shots and code that show how FieldSets and ASP Panels render with and without RadFormDecorator.  Perhaps with this as a base we can see what it will take to style a group box, and that information may translate to other controls.

If the solution is to simply not use the RadFormDecorator, I can do that, and use custom CSS to style various controls.  But that seems a waste when here is a component designed to do this very thing.  I'd prefer that out of this discussion we'll get some better documentation and/or fixes to the component.

Thanks for your time.
Georgi Tunev
Telerik team
 answered on 24 Aug 2009
3 answers
84 views
hi every body.
i have a problem that i can't understand , i hope you can help me, thank you
take a look with this function:
<script type="text/javascript">
            function RowDblClick(sender, eventArgs)
            {
              sender.get_masterTableView().editItem(eventArgs.get_itemIndexHierarchical());
            }
</script>
 this function was wrote for client event double click on gird and this function will show edit mode of the row i doubled click . i didn't write this function, i copied it in a example. the problem is how can i known sender and eventArgs support method .get_masterTableView() and .get_itemIndexHierarchical() for me , because when i dot after sender or eventArgs i couldn't see any method or property that i could use . please show me the way that i can know sender or eventArgs support how many method or property.
thank you.
lang dinh thien
Top achievements
Rank 1
 answered on 24 Aug 2009
5 answers
240 views
I get the following javascript error when loading a page where a RadTextBox control exists after setting the RadTextBox.ClientEvents.OnButtonClick property server-side:

"Object expected."

And this error only shows up after setting this property like so:

textBox.ClientEvents.OnButtonClick = "OpenLookupResultsWindow(0, 8)"

If you view the source the you can see that button associated with the textBox looks like this:

 
<td class="riBtn"><href="#" onclick="return false;" id="HeaderGridDock_C_HeaderGrid1_radGrid_ctl00_ctl04_HeaderGridTextBox-0-0_GoButton"><span>Button</span></a></td> 

And the JavaScript generated by Telerik looks like so:

Sys.Application.add_init(function() { 
    $create(Telerik.Web.UI.RadTextBox, {"_focused":false,"clientStateFieldID":"HeaderGridDock_C_HeaderGrid1_radGrid_ctl00_ctl04_HeaderGridTextBox-8-0_ClientState","enabled":true,"showButton":true,"styles":{HoveredStyle: ["width:97px;""riTextBox riHover"],InvalidStyle: ["width:97px;""riTextBox riError"],DisabledStyle: ["width:97px;""riTextBox riDisabled"],FocusedStyle: ["width:97px;""riTextBox riFocused"],EmptyMessageStyle: ["width:97px;""riTextBox riEmpty"],ReadOnlyStyle: ["width:97px;""riTextBox riRead"],EnabledStyle: ["width:97px;""riTextBox riEnabled"]}}, {"buttonClick":OpenLookupResultsWindow(0,8)}, null, $get("HeaderGridDock_C_HeaderGrid1_radGrid_ctl00_ctl04_HeaderGridTextBox-8-0")); 

Any ideas why I'm getting this error? I am unable to click the textBox button as a result.

Thanks,
Andrew

Sebastian
Telerik team
 answered on 24 Aug 2009
2 answers
151 views
Hi,

On my masterpage I have a radWindowManager and a radPanel (that loads a second aspx page). We want to open the radWindow (on the main page) from then within the panel. Is this possible? and if yes who would we do it using VB.Net?

Thanx
Georgi Tunev
Telerik team
 answered on 24 Aug 2009
2 answers
94 views
Hi,
1.Is it possible to bind the ArrayList to scheduler?
2.If I am binding the ArrayList to scheduler i got the Exception in DataBinding "DataBinding: 'ClassName'does not contain a property with the name 'ID'."
3.The clsaa file had ID property.
4. Any idea, sample code please

Thanks
Sabarish
sabarishbabu
Top achievements
Rank 1
 answered on 24 Aug 2009
3 answers
102 views
Hi,

Long back i have downloaded 2008.3.1327 version, which is a dev_hotfix. But it is not coming in the download list.

Now i am not able to find the link, Can any body help please how can i get the download.

Thanks & Regards,

Sai
Paul
Telerik team
 answered on 24 Aug 2009
1 answer
83 views
Hi,

I'm creating RadDocks at run time after populating List of type string & On the basis of that List m creating RadDocks..it gives no error while creating i debugged the code it gave no error while creating docks & assigning its value..

But when after hitting F5 it gives "htmlfile: Invalid argument"


Regards;

Zeeshan Ahmed Khan
Pero
Telerik team
 answered on 24 Aug 2009
2 answers
136 views
I'm using a FileExplorer to list files and directories from disk.

Question 1
I have a file called: "Du som yrkesmässigt använder högbeskattad ofärgad diesel.docx"
But when I clicked the file it opens a new page in explorer 8 saying: The Page cannot be found, if I click another file like "bla bla bla.docx" it opens the save as dialog.
The first file is also urlencoded so in explorer so it says:
Du%20som%20yrkesmässigt%20använder%20högbeskattad%20ofärgad%20diesel.docx



So what is wrong with the file? Or the filename?

Question 2
We are using many different kind of files, for example .dotx and none web browser know this type of file extension so it generates error when trying to download, is there some way to always get a save as dialog for all files?

Regards,
Mattias

Mattias
Top achievements
Rank 1
 answered on 24 Aug 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?