Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
143 views
I am trying to create an application were a user can move multiple files from a virtual path to a physical path. I am open to using FileExplorer, TreeView, or whatever makes this possible. My major issue has been getting the physical path to work.

Can you point me in the right direction?

Thank you,

Brad
Dobromir
Telerik team
 answered on 25 Jul 2011
0 answers
68 views
HI,
    I have a grid and a collection of class objects bound to it. And the property that I need to access, is like objA.objB.propA. So I am confused how to put it in Datakey so that I can access it on the editcommand event. So i was thinking, if I could get the bound collection I can access the prop.
Is there a way to do this?

Thanks & Regards.
deepti
Top achievements
Rank 1
 asked on 25 Jul 2011
4 answers
294 views
I have two RadListViews on a page. I have a client side call to do some processing via AJAX and after this I call the .rebind() method on both ListViews. However, only one of the list views is refreshed properly - whichever one is called second.
If I reload the page, both listviews refresh correctly.
Seems like odd behaviour as I've used this elsewhere without any problems, is there an issue with having two on a page that could be causing the problem?
I'm using a RadAjaxManager as well with each ListView targeting itself as the updated control.
Felipe Casanova
Top achievements
Rank 1
 answered on 25 Jul 2011
13 answers
268 views

I want to put editor in frameset on website but I have google 3 days nothing found which I want

My requirement is

My webpage contain frameset which has 2 frame A, B

Frame A contain editor toolbar only

Frame B contain multiple editor content areas

I know there is feature that one toolbar and multiple content area and both must be in same page

while in my website toolbar and content area must be in seperate frames

so give me the solution how i can seperate toolbar and content area of editor in 2 different frames and work properly

 

thanks

Dobromir
Telerik team
 answered on 25 Jul 2011
3 answers
103 views
Hello,
I need an exact solution as in your sample and I took a small isolated sample from one of the forum post made by your support guy. And it failed.
When I run the sample, edit row and try to update changes, I get an error like "Microsoft JScript error: Object does not support property or method _destroyTree". And debugger stops at this point in dynamic ScriptResource.axd source file:
removeDropDown:function(){
var _30=this.get_dropDownElement().parentNode;
_30.parentNode.removeChild(_30);
if(this._disposeChildElements){
Sys.WebForms.PageRequestManager.getInstance()._destroyTree(_30);
}

When I remove dropdownlist column, everything works fine. Can you please help me with this?
Thanks

Vasil
Telerik team
 answered on 25 Jul 2011
5 answers
350 views
Hi everyone,

Using the rad scheduler in timeline view and there appears to be a display bug with the date picker when no resources or appointments are loaded for the scheduler (see attached image). Essentially, the display of the date picker gets cut off. I am sure there is a style which can be overridden to ensure the picker displays properly, just can't seem to locate the right one.

Any help would be appreciated.

Cheers,

Derek
Peter
Telerik team
 answered on 25 Jul 2011
1 answer
75 views
Dear .

Have a nice day.

I am using RadUpload Control to upload images on server.

I want to write domain Name on the image so automatically any user upload image, domain name apear on image, so my images become copyright.

How can i do this?

Thank you so much for your help.

Regards.
Peter Filipov
Telerik team
 answered on 25 Jul 2011
1 answer
112 views
I dropped an asp button within a RAD PageView control, on button click in code behind I call javascript to open the RAD Window...like this:

 
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
  Dim strScript As String = "<script language='javascript' type='text/javascript'>Sys.Application.add_load(ShowWindow);</script>"
  Page.ClientScript.RegisterStartupScript(Me.GetType, "ShowWindow", strScript)
End Sub

function ShowWindow() {
  var manager = GetRadWindowManager();
  var window1 = manager.GetWindowByName("SaveSiteNoteWindow");
  window1.show(null, "SaveSiteNoteWindow");
}

I use this method in other scenerios and it works perfect, as soon as I drop the button within the RAD PageView control nothing happens upon button click.

Please advise.

Thanks,













Marin Bratanov
Telerik team
 answered on 25 Jul 2011
0 answers
56 views
Hello,

I have an upload in RadGrid editTemplate. I created a JavaScript which disables Ajax for post-back, hoverer the file does not upload at first time, it works only on second time. I tried googling, but nothing useful found.. Any ideas?  
Andrej
Top achievements
Rank 1
 asked on 25 Jul 2011
3 answers
137 views
<telerik:RadGrid ID="TourGrid" runat="server" AutoGenerateColumns="false" AllowSorting="false"
                AllowMultiRowSelection="false" OnNeedDataSource="TourGrid_NeedDataSource" OnPreRender="TourGrid_PreRender"
                AllowMultiRowEdit="true" OnItemCreated="TourGrid_ItemCreated">
                <MasterTableView Width="100%" DataKeyNames="Id" EditMode="InPlace">
                    <Columns><%-- columns left out --%>
                        <telerik:GridNumericColumn DataField="NewValue" UniqueName="NewValue" HeaderText="New value"
                            ReadOnly="false" ColumnEditorID="GridNumericColumnEditor1" HeaderStyle-Width="175px"
                            DataFormatString="{0:D}" AllowRounding="false" KeepNotRoundedValue="true" DataType="System.Double" />
                    </Columns>
                </MasterTableView>
                <ClientSettings ReorderColumnsOnClient="false" AllowDragToGroup="false" AllowColumnsReorder="false"
                    AllowRowsDragDrop="false">
                    <Selecting AllowRowSelect="true" EnableDragToSelectRows="false" />
                    <Resizing AllowRowResize="true" AllowColumnResize="true" EnableRealTimeResize="true"
                        ResizeGridOnColumnResize="false" />
                    <Scrolling AllowScroll="true" UseStaticHeaders="true" FrozenColumnsCount="1" />
                    <ClientEvents />
                </ClientSettings>
            </telerik:RadGrid>
 
<telerik:GridNumericColumnEditor ID="GridNumericColumnEditor1" runat="server">
            <NumericTextBox runat="server">
                <NumberFormat NumericPlaceHolder="_" DecimalSeparator="," GroupSeparator="." KeepTrailingZerosOnFocus="true"
                    AllowRounding="false" KeepNotRoundedValue="true" />
            </NumericTextBox>
        </telerik:GridNumericColumnEditor>


I have the above grid in one of my aspx-pages.

The code-behind contains the following event handler:

protected void TourGrid_PreRender(object sender, System.EventArgs e)
        {
            if (!IsPostBack)
            {
                foreach (GridItem item in this.TourGrid.MasterTableView.Items)
                {
                    if (item is GridEditableItem)
                    {
                        GridEditableItem editableItem = item as GridDataItem;
                        editableItem.Edit = true;
                    }
                }
                this.TourGrid.Rebind();
            }
        }

This makes all the 'NewValue' fields go into edit mode when the page is loaded.

The input field should not round the values which the user enters on the page, nor should a rounded value be displayed.  With the markup above however the first row in the grid keeps the not rounded value but cuts off decimal digits after the first two.  All the other rows after the first round the value in the input box to two decimal digits and do not keep the not rounded values.

But I want the input boxes to keep the not rounded values and display all the digits of the values regardless wether the box is active (has focus) or not.  How can I achieve this?

Regards, Viktor
Vasil
Telerik team
 answered on 25 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?