r/ASPNET • u/llaxmikant • Nov 19 '13
Select / unselect all checkbox of ASP.NET GridView / Repeater control
r/ASPNET • u/llaxmikant • Nov 19 '13
r/ASPNET • u/CSEngineer13 • Nov 14 '13
X-POST from learnprogramming I recently got a job with a web design company as a back-end developer. The company uses ASP.NET and Visual Basic to design all of their back-end solutions; unfortunately, nearly all of my experience is in PHP. What are some good sources (websites, books, etc.) that can help me learn how to implement back-end solutions in ASP.NET w/ Visual Basic?
They are giving me 30-days to learn the language and become an effective programmer.
r/ASPNET • u/miamiheat27 • Oct 30 '13
Hey guys, So we're trying to implement our new caching strategy using Unity Interception.
I have a good basic understanding of it and we're going to use interception via attribute.
so like:
[cache] public int getNumber() {}
I already have my cacheHandler class which inherits from ICallHandler. I already have my cacheAttribute class which inherits from HandlerAttribute.
And when i put the attribute [cache] as per the cacheAttribute ...it compiles fine, runs fine.....BUT it never hits those classes.
I figured I need to register things (in vague terms) in the unity container but i dont' know where and how ....and maybe policy too ?
An alternative is using Postsharp for this whole thing...but i've been told that's a last resort and they want to use unity as a first choice.
Thanks in advance guys.
r/ASPNET • u/LHCGreg • Sep 22 '13
r/ASPNET • u/[deleted] • Sep 17 '13
Hey there,
I've been looking around since I'm about to start a project for a client in asp.net mvc, but most local hosts seem to charge extra for MS Sql databases.
Is there a simple way to just exchange MS Sql for Postgresql?
Does anyone have indications on how to do so?
r/ASPNET • u/bouillon • Sep 10 '13
So I've been looking online for quite a while and can't seem to figure this out. I have a grid that is one row being populated by employee metadata from a web service. I'm trying to extract one piece of data from that gridview (the organization ID) which will be used to populate a second gridview. I'm using visual studio 2010 in C#. Thanks so much in advance...
r/ASPNET • u/miamiheat27 • Aug 19 '13
Hi guys, So i have an asp.net web forms application where I have a radpanelbar as the navigation menu. It's being linked and populated via an xml (which is loaded to the database) The problem is I want to tie several different URL's to each menu item, in addition to whatever is on the xml.
Anyway to do that ?
r/ASPNET • u/vgambit • Jul 10 '13
The Items route should load a list of objects from my items table, but the app just breaks when I try to do it, with the error "Unable to find the requested .Net Framework Data Provider."
That makes no sense, since I'm able to use the data provider that it apparently can't find just fine in the server explorer. The app I'm working on is extremely straightforward: I just need to grab data from the database. I thought the "hard part" would be mapping all of my code to the database, and relating all the information in the database to each other (as that's where my app's value lies), but I haven't even been able to get to that point yet.
Can someone point me in the right direction?
r/ASPNET • u/nvielbig • Jun 25 '13
Hello everyone,
Attempting to configure my Oracle.DataAccess.Client within my .NET application. Had it working perfectly fun, but my Visual Studio imploded and I had to reinstall - since then, it hasn't quite worked. I am able to submit data to the OracleDB, but I cannot visit my page with a Gridview that accesses the DB, and I get an error stating: "unable to find the requested .Net Framework Data Provider. It may not be installed."
Here is what I have done so far:
I have the Oracle.DataAccess reference in my Solution Explorer references.
The OracleDataAccess.dll is within my applications /bin.
I have setup my Connection Strings to access my database (I am positive this is setup correctly as it's identical to the way it was back when this was all working).
My provider name within my Web.Config is: "providerName="Oracle.DataAccess.Client", which seems correct to me.
I'm pretty beginner to this entire asp.net/Oracle setup, so figuring this out is quite difficult. If anyone has any ideas, of any kind, please let me know... it's greatly appreciated.
Cheers.
p.s. If you need more info or anything from me, please tell me so.
r/ASPNET • u/husky11 • Jun 11 '13
Hello,
I have to publish an ASP.NET MVC 4 application on Windows Azure. I have something similar to a free subscription (college project) so there are limitation to what I can do .
I made a Cloud Service and a SQL Database Server with a database. The problem is that i can't connect to the database from my application. I changed the connection string and i tried to run "update-database" but it says my connection string is not good . I alse made a deploy just to make sure... the application is working but it throws an error when i make any kind of query .
I may be setting the wrong connection string... I used the one from the Ado.net section and I used it the MVC project. Do you know any step by step tutorial on how to connect to the Azure DB ?
r/ASPNET • u/Uberhipster • Jun 07 '13
r/ASPNET • u/numo16 • May 02 '13
r/ASPNET • u/precator • Apr 20 '13
Good MVC Open source options for.. CMS, Issue Tracking, Message Boards.
If anyone could recommend some good ones for me that would be great.
r/ASPNET • u/Eislauferkucken • Apr 11 '13
I have a model with 3 properties: Id, Name, and Ingredients. Ingredients is a list of Ingredients. The model Ingredient has 3 properties: Id, Name, and Amount. My problem is I don't want to set a number of ingredients on my create view. I created a button that dynamically creates a new textbox for ingredient name and ingredient amount but my problem is that I can't bind the data from those textboxes to the model. I'm looking for a nudge in the right direction and would appreciate any help.
tldr: How do you bind data from dynamically created textboxes to a list?
Edit: Thanks for the help. I wont have time to look at it until tonight after work and class but I do have a second to give a little more info. My jquery handles naming the id and name attributes for the inputs when I add an Ingredient. If I add 3 Ingredients, I get 6 inputs with the names IngredientName1, IngredientAmount1, IngredientName2, IngredientAmount2, IngredientName3, and IngreidentAmount3. I can format those ids and names different if need be. I just don't know how to bind IngredientName1 and IngredientAmount1 to Recipe.Ingredients[0].Name and Recipe.Ingredients[0].Amount and IngredientName2 and IngredientAmount2 to Recipe.Ingredients[1]. Hope that makes sense.
r/ASPNET • u/mitzman • Apr 04 '13
So right now I have my own custom error handling filter (it's applied globally to my site) so whenever any unhandled exceptions occur, the stack trace is sent to me in email. I'm looking at a more robust solution instead of expanding what I have (maybe it writes to a database besides emailing it, includes more detailed info, etc). Any recommendations?
r/ASPNET • u/robotnewyork • Mar 01 '13
I am new to maintaining a .NET project and find this in the web.config file:
<location path="AdminSecurity.aspx">
<system.web>
<authorization>
<allow users =".\webdev" />
<deny users="*" />
</authorization>
</system.web>
</location>I get the allow/deny users part but what does the .\ mean around webdev? How is that different from the user "webdev"?
r/ASPNET • u/Legym • Feb 19 '13
Hey /r/aspnet,
The last 2 days I have learned a ton about the ASP.net Framework. Literally went from discovering the difference between Open Source (PHP, MySQL, Apache to ASP.net, SQL, IIS).
The .NET Framework confuses me just a little and would like someone to make sure I have understand the concepts correctly.
ASP.NET only refers to the web development and not the coding of windows programs?
ASP.NET is broke down into 3 parts. Web pages, Web Forms, MVC. My question is can Microsoft Studio web express 2012 can be used to code for all three parts of the ASP.NET Framework?
When I create a new project in MS Web express 2012, and I load the template 'Web Forms', is this how you start coding in Web Forms or this still consider part of the Web Pages section?
ASP.NET Summary -web pages is sole purpose is to code the website. -Web Forms is the interaction where the viewer inputs data. Older Technology and limited. -MVC is like Web Forms, but has more flexibility. Newer, but a little bit more complicated.
Hopefully you guys can clear some of the problems I have been running into. Thanks!
r/ASPNET • u/[deleted] • Feb 16 '13
First off, I am old-school and I don't want to read stuff on a computer screen: I prefer books. I am an experienced VB.NET programmer since the first beta of ASP.NET. I have a new project that requires me to become a C# master of the universe in the course of a couple of weeks. Can anyone recommend a book or books that specifically addresses C# for VB programmers? I don't want to start a VB vs. C# jihad, but there are differences that let VB programmers develop some lazy/bad habits, and CodeChanger.com is not the solution for learning on the fly. Many thanks in advance.
As a token of appreciation and good will, please accept this photo of my assistant, Fred The Kat.
r/ASPNET • u/brettdavis4 • Dec 13 '12
At work, I'm trying to implement a source control solution. Which one do you use and do you like it?
r/ASPNET • u/drummer_si • Sep 05 '12
I'm a classic ASP/ PHP/ Javascript developer by trade but it's been annoying me and I really want to jump into asp.NET MVC. I've been learning it over the past year and believe I have the basics under my belt.
I've mainly learnt it so far from printed books, along with tutorials from Microsoft's own website. However, I'm mainly been trying to follow along and see how things work.. I've created a couple of small projects myself from scratch too.
I wondered if anyone knew if there are any resources on the web which give you "assignments" of sorts that I could figure out myself and then check to make sure I've done it right.
For example, instead of simply following along code to create a book store application, There would be a series of tasks such as
Create a class to store books including fields a,b & c.
Create a class to store customers including fields d, e & f
3.. etc
Does anyone know if anything like this exists?
Thanks in advance!
r/ASPNET • u/dlzp • May 21 '12
I built on website on visual studio 2010 and I am trying to get my database on to the hosting site and connected but I can't seem to figure it out. I believe the connection string they give me only works if I create a database with their database interface but then I don't know how to load my database in.
I have a ASPNETDB database for built in log in feature I have a sql database and an entity database
please help
r/ASPNET • u/wtvamp • Apr 30 '12
r/ASPNET • u/gwn_ws • Apr 09 '12
I'm interested in using callbacks in my VB Web Forms to update content without a full postback / page refresh. I know nothing about this ability other then that it exists. I'm currently using lots of update panels but would like something more versatile.
Is this even possible or is this only a C# or MVC thing? I don't know either language yet.
r/ASPNET • u/Nemmie • Mar 14 '12
r/ASPNET • u/piglet24 • Feb 28 '12