r/ASPNET • u/ours • Feb 24 '11
r/ASPNET • u/[deleted] • Mar 03 '11
Need help with rendering table in multiview control
hey everyone,
so this is gonna be a long post, so please bear with me. I'm working on a school project where my group & I are building a calendar web app for an organization using ASP.NET & C#. All of us were new to this framework going into the project, but we've all learned a lot so far.
I've been tasked with implementing tabs in one of our pages (specifically, an administrative page where admins can approve, disapprove, and edit user-submitted dates for the calendar as well as choose a theme for each month). In order to implement the tabs, I think using the UpdatePanel & MultiView web controls are the way to go. At the moment, I have multiple View controls nested within the MultiView control, which is nested inside the ContentTemplate tag, which is finally nested within the UpdatePanel control. So starting from the inside heading towards the outmost controls: View -> MultiView -> ContentTemplate -> UpdatePanel.
Now, I've seen plenty of examples where you have different kinds of content within individual View controls; most are just text or another ASP.NET control (e.g. a Button). However, I need the aforementioned table to show up in one of the tabs. the problem is that the table is created in a method that is only ever called within the Page_Load function/method (which is only triggered when a page loads). So the table is loading once, and never again.
Furthermore, I didn't write all the code-behind stuff or HTML, but I did see a DIV element labeled "TableDiv", and I thought that by moving this DIV within the first View control, the Table might render only when that View is active. Unfortunately, it didn't do anything
Maybe I should call the individual method that creates the table using the individual View? I'm not sure....I've been at this for a while, so any help would be greatly appreciated!
thanks,
--Jonathan
EDIT: Also, if you notice I'm wrong in my understanding of ASP.NET/C#, please point it out to me. I'm still a newbie to this framework, so I know I still have a lot to learn...thanks.
r/ASPNET • u/wjohansson • Mar 19 '11
If you maintain ASP.NET MVC sites, this URL routing debugger is indispensable!
r/ASPNET • u/fuggerdug • Nov 17 '10
Example of how to render Content Type fields as a form in Sharepoint Web Part using c#
r/ASPNET • u/elijahmanor • Nov 10 '10
Visual Studio 2010 vsdoc for jQuery 1.4.3 Now Available
jq.uery.itr/ASPNET • u/ours • Dec 21 '10
Load WebForms and UserControls from Embedded Resources
r/ASPNET • u/ironshay • Nov 05 '10
The Big View Engine Comparison – Razor vs. Spark vs. NHaml vs. Web Forms View Engine
ironshay.comr/ASPNET • u/friism • Feb 03 '11
Integrate Voice and SMS in ASP.NET sites with Twilio
blog.appharbor.comr/ASPNET • u/mariuz • Nov 18 '10
ADO.NET provider 2.6.0 for Firebird is released
r/ASPNET • u/ultrafusion • Feb 10 '11
Are their any tutorials on how to support live editing for multiuser collaboration on a user control or web form?
I am currently developing an ASP.NET AJAX server control which is essentially an interactive gantt chart. It has been identified that there could be cases where more than one user would be responsible for updating the chart, and due to this there is a chance they could be working on it at the same time. Is anyone familiar with any resources which explain how to handle concurrent editing? Preferably client and server side examples.
The best I can think of at the moment is to log the changes on the server as they happen with a timestamp and have the client poll for any changes that happened after the last polling interval. I happened to find this video: http://www.youtube.com/watch?v=3ykZYKCK7AM, but it was a little high level for me to formulate a plan of attack.
Any suggestions or advice would be appreciated.
r/ASPNET • u/davegreilach • Dec 18 '12
ASP menu losing css when query is running
I have a page that runs a query that sometimes returns several thousand rows. While this query is running, my menu will lose its css until the query finishes and the results are displayed. Is there any way i can stop this from happening?
r/ASPNET • u/ProZero • Mar 09 '11
Excellent ASP.NET MVC 3 learning guide (for absolute beginning)
r/ASPNET • u/daoom • Mar 15 '11
ASP.NET Virtual or Dedicated Hosting Recommendations
I have a forum which I am hosting using a share hosting solution which has just about reached the point where a virtual or dedicated hosting solution would be better.
Any suggestions for an affordable solution would be welcome.
r/ASPNET • u/ashishsarda99 • Feb 01 '11
Stock Market Ticker For Website Yahoo Finance API
r/ASPNET • u/[deleted] • Jan 11 '13
MVC good route to go?
Is ASP.Net MVC 4 a good route to start with C# and the .Net framework?..I am coming from Ruby on Rails and I love the MVC layout. I am doing so because in my area its impossible to find a ROR job so I am switching to .Net and C#. Also, what time of things should I know to land a .Net developer job? i have a degree in Computer Science but not any C# expereince
r/ASPNET • u/brewdente • Jan 06 '11
Has anyone seen a GOOD way to share master pages across multiple ASP.NET web applications with a singe deployment?
I have seen many ways to share master pages:
1 - using virtual directories
2 - create a custom VirtualDirectoryPathProviders
3 - embedding the master page as a resource
All of them have some serious disadvantages:
1 - your virtual directory cannot be a web application, itself. Booo. A good way around this?
2 - If you have multiple web applications, you still have to deploy each application to get the shared master page
3 - This one is, by far, the worst (pain in the arse to debug and maintain in VS2010 and TFS). Also, see #2.
Am I really just going to have to install it in the GAC? So far, that's what I perceive as the best way. That way I can have singular deployment (copy <NAME>.master and install assembly in GAC) and there is no hard-to-trace dynamic master page compiling (it's still dynamic compilation, but it's easier to trace).
r/ASPNET • u/[deleted] • Mar 10 '11
What technology do you recommend I use for my next school project?
ASP.Net MVC, Silverlight, WinPhone7, XNA? I get to choose any of these platforms. I don't know what the project will be yet, but I decide that too. It does have to be something business-related, so XNA is probably out.
I basically want to choose the platform that shows promise in terms of demand for developers in it.
r/ASPNET • u/widdowbe • Mar 25 '11
Incremental Search help needed for MVC 3
Hey guys, I'm working on an MVC 3 project, and I'm trying to figure out a way to implement an incremental search (like the drop-down options Google suggests for a search based on what's being typed) feature into some of the text fields in a form. I've done something similar to this, but it was a few years back so it's escaping my memory and was mainly Java/javascript/HTML based. Any thoughts on a solution or directions to where a solution might lie would be greatly appreciated!
r/ASPNET • u/orthod0ks • Jan 06 '11
/r/aspnet, where do you look for freelance work?
I'm trying to break into the freelance game by doing some moonlighting, but I'm having trouble finding work. It seems there is a ton of PHP work out there, which I could get back into if necessary, but I'm more comfortable with .NET. Also, it seems many of the popular sites (elance) are swarmed with people willing to accept petty cash.
So, are there any goldmines that I'm unaware of, or just tips on how to pick up work?
r/ASPNET • u/spazzcat • Feb 18 '11
Need some help for a job interview I have coming up
I have been a PHP developer for about 15 years now, and I am going to bite the bullet and interview for company that is promising a career path, which is what I am looking for at this point in my life, but I have to start out as developer to learn their processes/systems. I am also working a company now that I need to get out of before I lose my mind:-). They work in ASP.NET and Java, I can't stand working with Java, so I am going to go down the path of ASP.NET. Here is where I need a little help, I need to ramp up on ASP.NET and fast. I am looking for a few good places to go to get me started. Maybe some resources for PHP developers moving to ASP.NET as well...
tl;dr PHP developer needs to ramp up on ASP.NET and fast.
r/ASPNET • u/numo16 • Dec 19 '12
‘Paste JSON As Classes’ in ASP.NET and Web Tools 2012.2 RC
r/ASPNET • u/maxhatcher • May 30 '13
Baby steps into MVC
I'm a perpetual beginner and got myself in a kerfuffle. Hoping an old timer can point me in the right direction.
We have a bunch of old sites done using .net 2.0 and webforms that I want to update to handle mobile devices and been thinking going the MVC route. I'm pretty good at SQL. And we have a ton of stored procedures we currently call from our sites for crud and reporting. I'm having a hard time getting motivated with MVC given it seems to not like SPs.
Is there a happy middle where we can use our existing plumbing with a new framework?
Thanks.
r/ASPNET • u/tgujay • Jun 19 '13
ASP Classic Function not working
We are in the process of migrating a few web applications from Microsoft Server 2003 to 2008 and this one function appears to not be working as the field it normally populates is empty.
Here is the code:
function get_name(emp_nbr)
sql3 = "select LTRIM(RTRIM(INITCAP(COMMON_NAME))) COMMON_NAME, LTRIM(RTRIM(INITCAP(LAST_NAME))) last_name from (select EMPLOYEE_NBR,COMMON_NAME, LAST_NAME from hrit_admin.employee union all select CONTRACT_RESOURCE_ID, COMMON_NAME, LAST_NAME from hrit_admin.contract_resource) a where EMPLOYEE_NBR = a.EMPLOYEE_NBR and EMPLOYEE_NBRr = " & emp_nbr
rs3.open sql3,conn
get_name = rs3("COMMON_NAME") & " " & rs3("LAST_NAME")
rs3.close
end function Any help would be greatly appreciated.