I'm doing a contract for asp.net. The owner wants it done in 2 - 3 months.Would it be worth it starting him in MVC and could I get it completed in time? It's a web page with a few modal popup extenders and about 3 grids.Is it possible to get it done with the boss very happy or should I write old web forms, and just write it clearly so it can be upgraded later?I can't miss a deadline and even though I love MVC, I kinda think I should wait until the first project is done cleanly. I haven't made an actual ASP.NET MVC app yet.
I'm a newbie with ASP.net, so forgive.I'm trying a simple site with Ajax Control toolkit. When I install the toolkit, everything shows up in the "Toolbox" except for TabPanel.I downloaded "AjaxControlToolkit.Binary.NET35.zip" and I'm running VS 2010.
I've been dynamically asigning master pages using code for a number of years as part of a skinning engine. Today however,I'm needing to do a 'simple' ASP.Net site that just uses the out of the box basics.I'm hitting a hurdle though and can't figure why.
[code]... Now - I want to add an <asp:placeholder> control inside the child page's <Content1> tags - however,the designer's intellisense doesn't show them. If I delete the MasterPageFile tag from the top of the child's page, then all of a sudden it works.Why can't I add a placeholder inside a child form?
i want to integrate simple url rewriting in my site. It is dynamic website that get contents from the Link My link is always like sitename.com/default.aspx?param1=1¶n2=hello¶m3=test I have only one page in this site. how to implement URL rewrite in this file. I use some demos but unable to do this.
I have a listbox on my site that is populated with data. I then have a textbox that is used to enter a search phrase and with each letter that is added the listbox is narrowed down or repopulated using javascript. I use one listbox to store all the items and a secondary showing the listing results. This makes it east to check against all items and then populate the second listbox with all the results according to the search.
Currently this process can cause a delay in updating the listbox (eg when the textbox is emptied all the items need to be repopulated from the listbox with all the data).
What is a quick and efficient way to perform this listbox search?
I worked on NHibernate around 4 years ago, now in one of the project I want to implement it again. Can someone share their experiance about latest tools available to speedup the development of NHibernate.I have used a tool to generate ORM Mapping (I think its name was Puzzle.Net)
I have been using asp.net programming just from few months and I have to maintain an application that is made up of many aspx webforms with updatepanels.One of the task of the maintenance is to integrate some of the JQueryUI widgets (mostly datepicker, tabs and buttons).I am experiencing some problems on doing this smoothly expecially when the controls are Inside an update panel Generally inside any templated control (e.g. Wizard control)
For example this very simple code:
<script type="text/javascript">
$(document).ready(function() {
$("#myTabs").tabs();
[code]...
will immediately cease to work if placed inside an update panel.Do there is a solution regarding this issue or I have to follow a completely differnt approach? Do I have to substitute all the updatepanels?And what is the best alternative to this easy to use control?
am looking for the best approach to using NHibernate and MVC.net. I have gone through http://www.codeproject.com/KB/architecture/NHibernateArchitecture.aspxSomeone has pointed to the use of Castle project Active record. My aim is to eliminate the need for any nhibernate dependencies within my domain. I want a quick and easy domain model that is persistable with NHibernate.
I want to find whether an uploaded mov file is a video or not through asp.net(c#) code. This is to prevent uploads after changing the extension to .mov.
I have an asp.net app consisting of about 15 aspx pages and 30 or so user controls. For the most part it is just a basic CRUD layer on top of a database, so it consists mainly of edit forms and datagrids.
All of my edit forms are laid out in fieldsets, and I am using plain asp:GridViews for my tables (they render to an html table). Some forms are in serious need of tabs to lay out the elements. I'd really like to be able to style my GridViews with a fixed header and vertical scrollbars.
I have to do a demo in a few days but the problem is, there is no styling whatsoever applied to the html (no classes defined within the html, no CSS at all), and I am very weak with CSS.
So considering my predicament, can anyone offer some advice on how I could get this looking presentable in a very short period of time?
Is there such a thing as pre-existing decent generic CSS files I could download and drop on top of this app that could apply an attractive and consistent look and feel to most elements? Would http://jqueryui.com/ be useful in this particular situation?[URL] looks very attractive, can anyone comment on how easy it would be to globally wire all of my GridViews up with that?
On localhost works well. On the hosting server expires very quickly. Sometimes after a minute, and sometimes after a few minutes.
I tried mode="StateServer" and mode="SQLServer", but first works the same, other doesn't work. The next problem is that End_Session in global.asax doesn't executes if mode is not InProc. And I need this.
How could I achive that session expires only when browser is closed or other url is typed. Just setting timeout doesn't work.
i have a gridview connected with a sqlDatatsource that show/update records and that work fine
now what if i want to edit records quickely like in excell for example
so the left/right arrows to switch between columns up/down arrows to switch between records
i want to use this grid to edit invoice like table is the gridview suitable for this kind of use or i have to use another component (DB aware ideally)?
What solution is better? - For server load. - For quick loading pages
1) Use a timer from VS2008, set the timer for three seconds.Use UpdatePanel and Triggers.In Timer_Tick write code for the application.
2) Create a WebMethod, where to write the application code.And using javascript to load a Web method and use - window.setInterval (callMethod () ', 3000).
I am using a cms product that likes to cache every page so that you get quick response times. The downside of that is that pages can get stale. My question is: are there different caches per user? Does asp.net keep track of caches on a per user per site basis? That's what is seems like to me, but I can't seem to find it documented anywhere. With this cms, they have a load of hashtables keeping tabs on the modified pages. If you clear out the cache, log out, and log back in again as another user, you still have stale information. The only way to get the information to be current for all users is to recycle the app pool, which is something you don't want to do too often ( kinda like pulling the emergency brake on the train ).
I am using jquery quicksearch to filter a gridview. As i enter the search text in a text box the column width of the body of the gridview keeps changing and does not align with the header width for the respective column. How do I lock the column width of the gridvew so it remains unchanged?
I have two mp4 video files on webserver, i wanted to play them in flash player(flv player) on my asp.net page, but i couldn't be able to play them, i also tried to play them in quick time player the same prob occured. but i waz giving the accurate path, there were no spaces in mp4 file names etc.
Does it need to have mp4 player(or codec etc) installed on webserver?
I have also some wmv files on that server , and i am playing perfectly using silver light player, and media player object on my website.
I made a usercontrol consisting of an AJAX tab control, a textbox, and a gridview. The gridview is pulling data from a SQL database. When the gridview is outside of the tab control and I begin to enter text into the textbox, quicksearch begins to filter the information in the gridview. When i put the gridview and textbox inside an AJAX tab control quicksearch does not work. How do i need to structure the textbox and the gridview on an ajax update panel to get it to work?
I have a requirement where I have to transfer a user from Web Site 1 on Server A to web Site 2 on Server B.
On Web Site 1, I have to provide controls to enter user id and password and which have to be validated on Web Site 2 on server B, after validating them I have to redirect the user to Web site 2.
what is best way fo doing it. code examples are greatly appreciated.
Note: On Web Site 2, user login functionality is already existing and it is provided by ASP.Net login control, am not sure how to handle the user login process from two different places.
or is it the best way to move Web Site 2 from Server B to Server A so that, the same login controls will be shown using Iframe on Web Site A.
I've been using an asp 3.0 widget for this purpose , but it been broken for a while and rather than get it back up, I'd love o get a native asp.net solution, can any one point me in the right direction pleaseI once wrote some asp.net code to do this, but the permissions on the server, which I found to be common every where prevented asp.net native picture upload, perhaps i got it wrong, well now I wanna fix itI need the code to work in a shared hosting IIS 7 environment. I use vb.net, but can usually convert c# to vb.net
Using Visual Web Developer 2010 Express. I was used to creating a web app anytime and I would get a default page for starters and be happy. But today I find that when I pick either the ASP.NET Web Site or ASP.NET Web Application templates I get site.master and a bunch of site admin files that I don't want. Alternately when I select the empty versions of those templates, I get almost nothing at all. An almost empty web.config page and no Default.aspx page. There is nothing magical about having a default.aspx page in place, but it is an indicator of a change when I can only get a virtually completely empty website or a website with a bunch of bells and whistles I don't want.
Also, for some reason, when I create a new app or website as just noted, in the Solution Explorer I get aspx.designer.cs files showing as well as web.config files for both debug and release. Somehow some settings and templates must have changed, or am I missing something here? How can I get my settings/templates to go back to the way they were?
I am having a little difficulty trying to wrap my head around site structures. I have quite a large asp.net site, for which: Admins can see a user list, Each user can have many accounts, and for each account can have many items. I can picture this as a breadcrumb trail of editing a particular item. User List > Mr Bob > Accounts > BOB77 > Items > Item32 > Edit
User List = All the users Mr Bob = A user the administrator has selected from the User List Accounts = A list of the user's accounts 12BOB = The administrator has selected the account named 12BOB Items = A list of the items an account contains Item32 = The item that the administrator selected Edit = The action that the administrator wants to do. I can picture how this would look like if it was using ASP.NET MVC with the URL, but I am unsure how to map this out using Webforms, and in the physical filesystem.
This is what I have thought up about how I am guessing the physical structure would look like. Will this have to use session variables to achieve what I am trying to do?
/Users/User/Edit.aspx <- for editing a user /Users/User/View.aspx <- for viewing a user /Users/User/Accounts/Default.aspx <- for viewing all accounts /Users/User/Accounts/Account/View.aspx <- for viewing an account /Users/User/Accounts/Account/Edit.aspx <- for editing an account /Users/User/Accounts/Account/Items/Default.aspx <- for viewing all items in an account /Users/User/Accounts/Account/Items/Item/Edit.aspx <- for editing an item
Where can I read more about this kind of setup in a web application? Or, can someone point me in the direction of an available project that has this kind of layout?