Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
64 views
Hello,

I'm working with a List View that includes an extensive set of controls including a RadUpload control.  I'm using javascript to disable the Ajax with the upload button is clicked.  This works fine on page load and pretty much all first pages of the list view when items are searched.  Once I select a new page in the RadDataPager, the javascript code is no longer executed.  Could you please provide some insight!! I've been looking into this for some time now with no consistent solution.

I also encountered pretty much the same problem with a textbox in the listview that also needs javascript to be resized, however I corrected this with changes to the  RadAjaxManager settings.  This change (to update the listview when the AjaxPanel is selected, may have triggered the issue above.  

I'm trying to get a solution as soon as possible.

Thanks!

Update...I've actually opened a support ticket to supmit this along with files.
Stephanie
Top achievements
Rank 1
 answered on 16 May 2011
1 answer
405 views
Hi,
I am working on application in which we are using Rad Controls.
When we open appliaction in two browser window, we got 'RadUpload Ajax callback erro.Source url returned invalid content' error.
Vijayaraj
Top achievements
Rank 1
 answered on 16 May 2011
8 answers
314 views
I want to remove one column and also selected rows for excel export. Remove rows worked but remove column doesn't work.

I used e.Worksheet.Table.Columns.RemoveAt(3) under ExcelMLExportRowCreated to remove column (TagID) but doesn't work.

I can't make the TagID column invisible on the grid display because I need to use this TagID for checking when remove selected rows. .

-----------------------------------------------------------------------------------

 

if (!list.Contains(e.Row.Cells.GetCellByName("TagID"

).Data.DataItem.ToString()))

 

{

 


if (e.RowType == GridExportExcelMLRowType

.DataRow)

 


{

 

 

 

Int32

i = e.Worksheet.Table.Rows.Count;

 

 

 

e.Worksheet.Table.Rows.Remove(e.Row);  // remove rows worked

 

}

 

}

 

 

 

 

else

 

 

 

{

e.Worksheet.Table.Columns.RemoveAt(3); // want to remove TagID column from excel display (index id is 3) but didn't work

}


Please help!

JJ
Top achievements
Rank 1
 answered on 16 May 2011
2 answers
51 views
Hi Team;

There is a case that I'm not quite clear how to grasp it and I hope you can explain it better to me. This question can relate to either Upload for ASP.Net Ajax or MVC. I have not finalize which route to go yet.

My understanding: When I write code for the Upload events to execute Before & After a file has been uploaded in the case that the file is uploaded to the same server and same domain, the code can create a directory on the server and then store the file and rename it if it needs to. Basically, the code would know about the root and directory of  the website.

Now, suppose the website is being hosted on some shared or dedicated hosting company. So, the actual code running is on the hosting server, however the files that are being uploaded will be stored on Amazon S3 server and not on the same server as the website is.
My question is, how will I be able to control the same logic on the Amazon server (location of file, File name and etc.) the same way as if the file was on the code server?

Any explanation or links would be appreciated.
Thank you in advance.
..Ben
Ben Hayat
Top achievements
Rank 2
 answered on 16 May 2011
2 answers
124 views
I added this code to my aspx file:

<telerik:RadDatePicker ID="RadDatePicker1" runat="server" />

This code makes the control appear on my page. The problem is that no matter what date I select on the calendar, today's date shows up in the textbox. I've tried it in multiple browsers with the same results.

Am I missing something here?
Patrick
Top achievements
Rank 1
 answered on 16 May 2011
2 answers
56 views
I came accross an issue where I was only able to see the first tab. Clicking on any other tab would not work. I isolated the issue to the following:

One of the tabs contained RangeValidators. After removing these, everything started working.

Layout:
RadTabStrip
    Tabs

RadMultiPage
    RadPageView1
        UserControl

    RadPageView2
        UserControl containing a RangeValidator

    RadPageView3
        Empty


Note: RequestValidation="false" for this page

No resolution at this point. I just dropped the validation control out of my usercontrol and using my own error presentation methods instead.
Gerry
Top achievements
Rank 1
 answered on 16 May 2011
1 answer
104 views
Switching to HTML source mode shows the text formatted in blue at a particular point size.

This is a hard set property on the <textarea> that is used to display and edit the text.

There is no built-in classname on this object. All my efforts to override the font size (inclduing specifying the entire dom path to the object using font-size: 1.5em !important; rules doesn't work since the style property ON the runtime-generated textarea overrides the styles in my page sheet.

Out client has stressed how unreadable (and therefore unusable) this makes the html source mode, which is of particular importance to them.

What is the correct method for changing the size of this area? We are using the default skin only.
Rumen
Telerik team
 answered on 16 May 2011
12 answers
420 views
I'm following this demo to use "global item template feature" of RadGrid but using Client-side binding. Somehow I'm not able to access the label element within the ItemTemplate in RadGrid1_RowDataBound event. I can this event called up but the label comes up NULL. Can someone please advice how I can achieve this? Thanks.
<telerik:RadGrid ID="RadGrid1" PageSize="10" AutoGenerateColumns="false" runat="server">
    <MasterTableView TableLayout="Fixed" DataKeyNames="itemid" ClientDataKeyNames="itemid">
            <ItemTemplate>
                    <asp:Label ID="lblDetail" runat="server" Text=""></asp:Label>
            </ItemTemplate>
        </MasterTableView>
        <GroupingSettings CaseSensitive="false" />
        <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>
        <ClientSettings>
            <ClientEvents OnRowCreated="OnRowCreated"  OnRowDblClick="OnRowDblClick" OnCommand="RadGrid1_Command" OnRowDataBound="RadGrid1_RowDataBound" />
        </ClientSettings>
    </telerik:RadGrid>

function RadGrid1_RowDataBound(sender, args)
{
   var lbl = args.get_element().findElement("lblDetail");
   lbl.innerHTML = "This is test";
}
HarryM
Top achievements
Rank 1
 answered on 16 May 2011
1 answer
67 views
Hi,

I am using the RADGrid and some users using laptops have complained about the grid headers moving to the right of the screen creating a horizontal scroll. I dont see that on my desktop. Is there any setting that would not distort the grid headers.
I have already tried setting UseStaticHeaders='true'.

Any suggestions would be appreciated.

Thanks
Pavlina
Telerik team
 answered on 16 May 2011
1 answer
97 views
My client is having a number of problems pasting in a Word document and retaining the formatting.  I can reproduce the problem in the Telerik Demo site located at:

http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx

I have the Q1 2011 version installed in our app as well.

The issue varies based on the browser I'm testing it in.  The main issue is in IE7 and IE8:

- If I paste the attached word doc and Clean it, The bullets lose their indentation and numbering (everything gets numbered "1")
-If I past and don't clean it, everything appears OK at first, but if you go to HTML view, then back to Design view, the bullets lose their indentation and fonts change styles, and even some content is lost. 

I am pasting from Word 2010 on Windows 7 if that matters.

...i am unable to attach my sample word doc for you to test.  Please advise.
Rumen
Telerik team
 answered on 16 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?