S#arp Applicable In Classic Asp Or Even WinForms?
Feb 7, 2010I know S#arp architecture is built for ASP.NET MVC. But I'm wondering if it can be used in classic ASP.NET (WebForms) or even desktop applications like WinForms or WPF.
View 3 RepliesI know S#arp architecture is built for ASP.NET MVC. But I'm wondering if it can be used in classic ASP.NET (WebForms) or even desktop applications like WinForms or WPF.
View 3 RepliesWe're starting a fairly large project that is going to be using all of the company's development resources and I've been asked to help bring up to speed and mentor a co-worker in C#/ASP.NET/WebForms 3.5 who has years of experience with Java and Classic ASP. What are your recommendations and best practices for helping an experienced developer learn the framework and become familiar with ASP.NET best practices? Books or resources? How often should I be conducting code reviews?
View 3 RepliesI am trying to convert some repetitive html into a user control. Here is the HTML :
[Code]....
And here is where I am slotting it in to my original HTML :
[Code]....
I need to do this dynamically, is there any way around this?
i want search method , this method is used for any grid data in my application , the search text is enter in textbox , and text is find in any column in grid,and also search method is applicable for all grids in application,, all grids are not same...
View 1 RepliesDoes record locking (Pessimistic and Optimistic Locking) is applicable in ASP.NET application? If so, What is the pros and cons on doing this?
View 3 RepliesWhy is there a need to explicitly call GridView.DataBind() to render the gridview. Why wouldn't it render by itself automatically like how it happens in Window Forms?
View 2 RepliesWe have an ASP.net application but some screens are deemed too slow to use by our users.As a result, we are trying to provide a WinForms-based alternative to those data-input centric screens so we can use richer controls like Grids with immediate screen updates and feedback for the user.
Ideally, I would like the users to login to the WinForms application using the same credentials they use in the ASP.net application?
Is it possible?I've found this post ( http://stackoverflow.com/questions/1172069/net-authentication-for-both-web-and-winforms ) but it isn't really answering the question from my point of view... We are not using WebServices, or WCF at the moment and do not plan to use it unless it is really the only way to achieve this.
I work with many diverse technologies, and don't possess the time to evaluate every single UI framework, so I'd appreciate hearing other coders' experiences with various frameworks.
The stuff I've worked with so far (and my perceptions):
WinForms: DevExpress (love the looks, hate the API and bloat), Krypton (free!, looks good, but limited), Telerik (don't like the looks)WPF: have only used WPF Themes pack. Asp.Net: Telerik MVC Controls (love it), jQuery UI (looks great)
I need to know whether there will be any problem using win forms control as a custom control in my web app. Problems can be anything related to display, environment where the site is run.
Reason for using is I am not getting the treeview events in web which are there in win app. I need to implement drag drop of treeview nodes to a listbox.
We have an app with standard ASP.net forms. I would like to use MVC and I just wondered is it possible to re-use a master page from my main site?
View 3 RepliesHow can we add a winforms user control in an aspx page?
View 3 Repliesmy application not working when I publish (only files needed to run this application) it to the server. I set wildcard mapping in IIS. I'm getting the error below:
HTTP Error 404.4 - Not Found
The resource you are looking for does not have a handler associated with it.
in asp.net we can handle the RowDataBound event of the GridView control. this event fires when every row is added to the gridview.
i want to be able to handle this event in the gridview in a winforms application but i cannot find a similar event. my question is what is the event name that allows me to do the same as RowDataBound in asp.net?
[URL]
How can i create a window that holds Patient data in it? The 2 records that you see is in List View. I would then using ContextMenuStrip for text "View Details". When View Details is clicked i need to show the context. For web development this could be done via Javascript,div and panels. How that should be WinForms?
I need to find a child control in a winforms panel. I was wondering if there is a method similar to Panel.FindControl() of the asp.net webforms panel in the .net winforms version
View 1 RepliesI have a gridview which is binded to a Sqldatasource. I would like to replace a column data field value to 'Not Applicable' if that column has got a value of 2 in database.
View 2 RepliesGiven:
<input id="datepicker" type="text" />
Where the id = datepicker tells the javascript to attach all the datepicker code to the form element, how do I turn this into a server control?
For example:
<input runat="server" id="datepicker" type="text" />
Doesn't work because ASP.net generates it's own ID's.
Edit
<asp:TextBox runat="server" ID="dateTo" class="datepicker"></asp:TextBox>
Renders as
<input name="ctl00$mainContent$dateTo" type="text" id="ctl00_mainContent_dateTo" class="datepicker" />
And doesn't work!
From a class library, I need to determine at run-time whether I'm running in an ASP.NET app or a WinForms/console app. There have been several other questions asked on the subject, but all of those solutions require adding a reference to System.Web. If at all possible, when running my console and WinForms apps, I don't want to load the System.Web assembly into memory just for one line of code out of thousands.
View 4 Replies I'd like to create a custom datasource that is shared between a Winforms and Webforms project. This functions as a middle layer for a reporting tool(DevExpress Reporting). The Webforms project is a designer for these reports. So we want for the reports to be capable of going to the server to get data and such. So our datasource would abstract away all the communication overhead. Then, for consistency, the datasource would also run on the server for reporting, except for their would be no communication.
What would be the best course of action? There doesn't seem to be such a thing as a DataSource in Winforms. Is DataSource not the thing I'm looking for?
Edit: After some research, it appears that IDataAdapter may be good for my purpose. Any opinion on that?
In windows C# data grid view , I use cell click event and what i have to use for asp.net c# grid view ?
View 2 RepliesAfter developing ASP.NET apps exclusively for several years I'm about to start developing Winforms apps. What are the gotchas that I should be looking out for with this changes? For instance the way object lifetime is managed in the winforms paradigm. I'm sure there must be plenty of gotchas / differences between the two that I need to be mindful of.
View 2 RepliesEasy way how to upload a large file from winforms c# to asp.net https (web service or asp.net page), with progress bar?
View 1 RepliesI have a windows user control hosted in IE.
how can i paas input from webpage ( propably from javascript ) to win forms user control
I'm trying to use ASP.NET WCF Authentication Service from a Winforms Application.
I am referring to this article as a tutorial.
for silverlight clients, the WCF Auth service works well.
but for Winforms Apps,
[Code]....the AuthenticationServiceClient.IsLoggedIn() always returns false even after login.
what is the cause of this and is there another approach I should take when I leverage ASP.NET authentication from Winforms?
I have a custom role provider class that is currently being used by a web application. We are now in the process of migrating several windows applications from VB6 to VB.Net. From preliminary research, I understand that I can use the custom role provider in win forms as well and came across Client Application Services. I understand how the Client Application Services is setup, but can't seem to find how the custom role provider code will be shared between the web apps and the windows apps.
View 3 Replies