Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
101 views
The problem i have is , My HTML look good on the Editor but when on exported PDF all the table size and TD sizes are ignored !!! , i tried to use inline css , external css , but still same result ,
i learned my HTML cant have HTML , BODY tag !! where can i find document about what is supported on PDF what is not?
i'm using latest version of Telerik component 
 
Princy
Top achievements
Rank 2
 answered on 22 Feb 2012
0 answers
70 views
Dear Friends,
                      I have work out the Rad Inline Grid,its working properly without layer architechture,when i am trying to implement it into layered architechture am getting some errors.

I got the code from below link,can you please explain me that how to apply this in layered architecture.

http://www.telerik.com/community/code-library/aspnet-ajax/grid/manual-insert-update-delete-operations-using-auto-generated-editform-with-sql-statements-from-the-code-behind.aspx
Aarthi
Top achievements
Rank 1
 asked on 22 Feb 2012
3 answers
195 views
I was curious if the RadCalendar can be used in a monthly format with listing out details for each day.

Click here to see an example.

Thanks in advance.

Matt
Princy
Top achievements
Rank 2
 answered on 22 Feb 2012
1 answer
102 views
When I dynamically instantiate a RadGrid server side and insert it into a placeholder control I have no problems.  If I create the same RadGrid with identical properties declaratively, I get the error: "Error: Sys.InvalidOperationException: A control is already associated with the element.".  If I remove the AllowScroll property from the declarative RadGrid, the error goes away, but this isn't what I'm looking for.  Since I will be reusing the same grid over several pages I created a user control that wraps the RadGrid, but I am still getting the error.  Leaving out AllowScroll removes the error but, again, this isn't what I need.  I tried adding the AllowScroll property in the pre-render event, but I get the same error.  I can't figure out how the same grid created dynamically works when creating it declaratively doesn't. 

Here's the dynamic version (c#):
            RadGrid grid = new RadGrid();
            grid.ID = "GridName";
            grid.Skin = SkinName;
            grid.CssClass = "gridCss";
            grid.AllowMultiRowSelection = true;
            grid.MasterTableView.HeaderStyle.Wrap = false;
            grid.MasterTableView.HeaderStyle.Height = Unit.Pixel(50);
            grid.MasterTableView.AutoGenerateColumns = true;
            grid.ClientSettings.Scrolling.AllowScroll = true;
            grid.ClientSettings.Scrolling.UseStaticHeaders = true;
            grid.ClientSettings.Selecting.AllowRowSelect = true;
            grid.ClientSettings.AllowKeyboardNavigation = true;

and here's the declarative version:
<telerik:RadGrid runat="server" ID="GridName" AllowMultiRowSelection="true" Skin="SkinName">
    <ClientSettings AllowKeyboardNavigation="true" KeyboardNavigationSettings-AllowSubmitOnEnter="false">
        <Selecting AllowRowSelect="true" />
        <Scrolling AllowScroll="true" UseStaticHeaders="true" />
    </ClientSettings>
    <MasterTableView HeaderStyle-Wrap="true" HeaderStyle-Height="50px"> 
    </MasterTableView>
</telerik:RadGrid>



Shinu
Top achievements
Rank 2
 answered on 22 Feb 2012
5 answers
435 views

i applied this for Item
<

 

telerik:RadPanelItem BackColor="Red">

But color is not changing
Please help

Regards
Arijit

 

Shinu
Top achievements
Rank 2
 answered on 22 Feb 2012
4 answers
125 views
Hi, 

I want to have a custom form editor with some control, instead of creating a new asp page and calling it when the user click on edit.

Anyone can point me to a good tutorial or documentions?

Thanks
Shinu
Top achievements
Rank 2
 answered on 22 Feb 2012
1 answer
177 views
I want to use RadGrid on many of my web app pages and I want the settings on all to be the same so I create a Grid in a UserControl. Below is my basic setup and issue:

Site Master
All pages share the same site master so in the site master I have a scriptManager and an RadAjaxManager. All the pages also share the same grid filters, start and end date, so there are two text boxes and a submit button, plus an export button.

Content Pages
Each content page only has the user control with a parameter that references a table in my database and in the code behind I have a list of the columns that I wish to have from that table.

UserControl
In my UserControl I build a RadGrid, create the NeedDataSource event, define export settings, and attach some javascript for certain functions. I also attach some ajaxSettings in the Page_Load event so the page does not do a full postback and some javascript clientEvents. This all works perfect until I export. Since the export requires a full postback, I have to turn off the ajax like so on the RequestStart event:

if (args.get_eventTarget().indexOf("DownloadExcel") != -1) {
     args.set_enableAjax(false);
}
else {
     args.set_enableAjax(true);
}

Again this works and I get my export, but then the rest of the Ajax shuts down. If I change the date and submit, the grid does not rebind. I know the RequestStart and RequestEnd event still work because I put alerts in them, however, the grid does not refresh. And if I click export again, I receive this message:

This webpage is not available

The webpage at http://localhost:61219/pages/data/HourDetailed.aspx might be temporarily down or it may have moved permanently to a new web address.
Error 103 (net::ERR_CONNECTION_ABORTED): Unknown error.

Two things that I have tried
  • I recreated my grid without the UserControl by just using an asp:PlaceHolder instead and then transferred all my UserControl code to the page and everything works normal. No issues with postback.
  • I added a regular asp:Button to the UserControl that has UseSubmitBehavior="true" and another to the page to use as a manual postbacks. Both have the same exact symptoms as the export button. The problem appears to lie somewhere in the postback.

I'm running out of things to try so if anyone has solved a similar issue, your help would be appreciated! 
Robert
Top achievements
Rank 1
 answered on 22 Feb 2012
8 answers
185 views
Hi,
Currently I have some code present in a webform, I would like to call re-use this code and display the webform when "edit" button is clicked in RadGrid. I can use webusercontrolform option; but, for which I will have to duplicate the code and create a new user control.

So in summary, below are the requirements:
1) How to call existing webform when "Edit" is pressed on RadGrid?
2) I do not want to create new usercontrol and duplicate the same functionality.

Can you please advice whether this is possible in RadGrid??
Ram
Top achievements
Rank 1
 answered on 22 Feb 2012
2 answers
105 views
Hello,

can someone provide me with an example of creating a RibbonBarItemTemplate from the Code Behind (C#)?
Thnx.

Regards,
  Jos Meerkerk
RvdGrint
Top achievements
Rank 1
 answered on 21 Feb 2012
2 answers
245 views
I'm using the RadEditor with a ContentTypeProvider that uploads images to the Amazon S3 service. That works great, but the imageManager sets the src of the image as src='S3FileSystemHandler.ashx?path=yourFolder/yourImage.jpg'. I'd rather not have the ashx page handling the images, and would prefer the src just be src='http://s3.amazonaws.com/yourBucket/yourFolder/yourImage.jpg'. Is this possible? Is there a reason I'm missing to set the src to include the ashx page and have the ashx page handle the images rather than just hitting the image directly?

Thanks for any help.
Jim
James
Top achievements
Rank 1
 answered on 21 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?