Web Forms :: Extending Web Parts With JQuery Or Telerik RadDock?
Oct 31, 2010
The Microsoft ASP.NET Web Part framework is not great at supporting AJAX or ensuring compatibility with browsers other than MSIE.
To create a more AJAX-rich portal page, using code such as jQuery UI, the Telerik RadDock, ExtJS, etc., should I abandon the ASP.NET WebPart framework, or should I try to enhance it by adding the richer JavaScript libraries on top of it?
The main features I want are the ability to drag-drop boxes around without having to go into an edit mode, have each box refresh without needing a postback, the ability to allow a user to change from three columns to four, and other features that are seen on the more notable portal sites like my.msn.com or pageflakes.com.
I'm in the process of building a web cms platform. And I've come to a point where I have to choose what actually goes in the pages (I've been building the "core" for now). What do you think is the best option and could you give me your reasons for choosing that?
Currently I'm looking at jQuery UI, Telerik, and I'm also juggling with the idea of just building controls by myself, but I think that's too much of a hassle for little gain...
I'm busy building my first MVC app that uses the Telerik MVC components. Their docs specify that the ScriptRegistrar helper be called right at the bottom of a view, e.g. "at the end of the master page.". I assume this renders a script block that must only run when the page has loaded. I normally prefer to achieve this using jQuery, and keep all my script related stuff at the top of my master page, preferably in the <head> tag. Is there anything I can do to achieve this with the Telerik components and do away with the lone and forgotten helper call at the bottom of my master page?
Does anybody used Telerik Controls and JQuery Autocomplete together. I'm facing a typical problem Uncaught TypeError: Object #<an Object> has no method 'autocomplete' when I try to use it on pages. Telerik Script and Style are registered in master pages.
to style 2 datepicker on one site in different styles.Want a different background in the second datepicker...Tried to wrap the datepicker in seperate div, but doesnt work.
Even <%= Html.Telerik().DatePicker().Name("DatePickerStart").InputHtmlAttributes(new {@class="datepicker2"});%> doesnt work..but .InputHtmlAttributes(new { style = "width: 200px;" }) resizes my datepicker.
I have developed an application using IE8. I set my pages up using tables. I have not developed the css skills to be able to use only css. I realize that is the best way. When I change to browser IE7, all of my tables extend beyond the browser window. Does anyone have an advice?? I have set a fixed width and all elements seem like they should fit within the browser.
I just completed the theme switching walkthrough on msdn [URL]/ms366514.aspx, and I want to expand this to convert the DropDownList into a custom control with either swatches or icons that can be clicked to switch the theme. It seems to suddenly become more difficult to work with themes when you change the scope. I found a couple of links online, one that used a global asax file to change the the theme but it didn't actually work.
I am developing a web application which implements membership, roles and profiles. I also want it to be multi-tenant / multi-domain. By this I mean that I will have hundreds of domain names pointing at the same web application. I want users to be able to create accounts at each individual domain. I want the opposite of "single sign on". I want users to be able to use the same username, email address and password (or different ones, at their choice) to create accounts at the different sites. I do not want users to have any awareness that the different domains have any relation to each other as they will look different and have different content. The first problem I run into is that usernames have to be unique within the forms auth aspnet db.
Well, if they want to use the same username to register on 10 different sites then I need to support that. My first thought was that instead of identifying a user by their username, I need to extend the aspnet tables and sprocs to consider the username + a unique site identifier. Is there any sample code or has anyone else ever done this before? Should I just abandon the built in aspnet forms auth and roll my own custom auth scheme? The data on the sites is not sensitive so security isn't really that important to me.
I am working with webpart. I have developed webpart but has some issues in managing its personalization/personal settings.
For example when user A gets logged in and personalize any webpart. Then uer B gets logged so it should have default webpart setting or own personal setting webpart.
I am referring following site:
[URL]
kindly tell how to use these methods or others which are present in sqlprovider
1) SavePersonalizationBlob
2) LoadPersonalizationBlobs
Is there any tutorials or example to help me or any1 can have idea or example etc to
This is my first time working with web parts. Was wondering if anyone can show me how to create a new webpart project in VS2008. I don't see any options for creating a "web part template" when I go to create a new project.
I am having trouble with ASP.NET and trying to use web parts. I am receiving and error. I am using VS 2008, with ASP.NET 2.0. I create a new project and add the webpart manager and then the webpartzone. I build and run the project and receive the error: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.
SQLExpress database file auto-creation error:
The connection string specifies a local Sql Server Express instance using a database location within the applications App_Data directory. The provider attempted to automatically create the application services database because the provider determined that the database does not exist. The following configuration requirements are necessary to successfully check for existence of the application services database and automatically create the application services database:
If the applications App_Data directory does not already exist, the web server account must have read and write access to the applications directory. This is necessary because the web server account will automatically create the App_Data directory if it does not already exist. If the applications App_Data directory already exists, the web server account only requires read and write access to the applications App_Data directory. This is necessary because the web server account will attempt to verify that the Sql Server Express database already exists within the applications App_Data directory. Revoking read access on the App_Data directory from the web server account will prevent the provider from correctly determining if the Sql Server Express database already exists. This will cause an error when the provider attempts to create a duplicate of an already existing database. Write access is required because the web server accounts credentials are used when creating the new database. Sql Server Express must be installed on the machine. The process identity for the web server account must have a local user profile. See the readme document for details on how to create a local user profile for both machine and domain accounts.........................
I have form and i'm using web parts for asp.net.I want the first web part the stretch the entire width and on the second row I have 2 small web parts to on the second row
<big web part>
<second><third>
But, I can't get the 2nd and third web parts to be on the same line. [Code]....
I am using web parts in my web page( ASP.NET 2.0 and C#).
The contents of these web parts vary in size. For example, one web part has calendar control, another web part has the File Upload control.
I have added the web parts under "td" tag. So the web parts are of different sizes now, I want to make the webparts to be of same height and width, regardless of the content available.
How to set the height and width to be same for all web parts regardless of the content available in the webparts.
Also, when I web page is running, I am able to "WebPartZone1" which is the Id in the page. How to hide that name from appearing.
I would like to know if it's possible not to use ASPNETDB.MDF file for the web parts.I don't want to store any data in ASPNETDB.MDF, I would like to remove that file, I tried delete it, but every time I compile my project, ASPNETDB.MDF creates it self automatically.
I'm starting a web project where I would like to have the minimize/collapse functionality of the Web Parts. In a future version I would like to let the user move the modules around and add and remove modules to/from the page, but not right now. The users don't have to be authenticated to use the portal and if they are, I can't use the built in authorize functions. My questions are: should I use Web Parts, or should I just use Web User Controls? Is there other libraries, similar to Web Parts, that are better suited for my use?
Which table does contain information about web parts?
For example: if I minimize web part zone and I again connect to my web application (even after server restart) this web part zone still will be minimized.
I know this topic has been visited before, but most of the posts I saw were 3+ years old [1]. I just tested adding a WebPartManager and a WebPartZone to an ASP.NET 4.0 site and was dismayed to see it still dumped out a table.Is the preferred way to get a tableless web part layout to use a ControlAdapter? Is there a more modern UI composition framework for ASP.NET that other have good success with, or has everyone just moved to MVC? I am building an application where the (non-technical)by dragging & dropping widgets around.
i have a situation like this, hope u can help me sort it out.
I am going to develop a portal by using all web part page and many customize web part.
BUt the personalization of the web part layout only allow modify by administrator, that means the web site is not going to personalize by public user even in drag and drop function. They just can see a normal web site..
So, in the web config file, what should i set so that the authenticate administrator can change it to effects all the user.
I encountered with some strange behaver in web parts. I have a web parts, and everything works fine locally, on my computer, but when I uploading it to the web server I have only one mode off display mode, the browse mode. The edit mode and design mode are disappeared.
I don't have any users.
I have tried to add the SharedScope, but didn't succeed yet, this is what I add in web.config:
My web parts need to get data from a remote server using TCP/IP. I want to store these application specific settings and allow only an administrator to configure it. Where should these settings be best stored ? I guess these settings could be stored in web.config. I want to avoid manually editing it or build a separate administration application. Could only an administrator only web part edit those settings which could be then available to all the web parts to use ?
In my .aspx page, I use a div including some repeaters and datalists without update panel.I bind all of them in page_load when Not IsPostBack condition is met.by default page is ok but if I push refresh button on browser regardless which browser or simply push F5 it shows header but not that div.