Long post.. sorry
I've been reading up on this and tried back and forth with different solutions for a couple of days now but I can't find the most obvious choice for my predicament.
About my situation; I am presenting to the user a page that will contain a couple of different repeaters showing some info based on the result from a coup...
I am looking for a solution (APIs, etc.) for handling a similar experience as cafepress.com. I need to be able to upload images (preferably multiple at a time) and be able to map my uploaded images to various product images (clean stock images of shirts, mugs, etc.). I also want to give the user some very basic controls over the images...
Over the last 1 1/2 years I've been working as a junior software-developer at a small company with focus on ASP.net / C#. During that time I've read in some great programming books, c# forums, stackoverflow, blogs et cetera and was able to learn much in a short time.
But there was always something I missed: Most of the ~1500 page books ...
I have two web site sites on IIS 7 (Default, Custom). Both Sites host the same web application.
Some of the web application behavior changes depending under what web site it is running. Is there a way for the web application to find out what is the name of the WebSite under which it is handling the current request.
Thank you
Imran
...
I have a WCF REST service built with C# and it returns an image as part of a CPU intensive operation. The client is running on Android (Java) By default, it will return a text JSON object that looks something like this:
{"d",[9,0,77,12,11,...]}
Those are they bytes of the image. Fine. However, all the solutions for decoding this JSON...
I need a way to dynamically populate this query... to avoid repeating the same query which I will have to do about 20 times
public decimal percentage_of_property(string property)
{
var total = Routines().Where(r=>r.property==true).Count();
return (decimal)100 * total / routines_total();
}
This obviously doesn't work... but I p...
I'm trying to implement a custom filter template for all text based searches and running into problems constructing the query. I've been following the instructions posted on this blog but not sure how change the GetQueryable method to perform a
WHERE columnAttribute LIKE '%something%'
query. In the example on the blog the expression i...
Hello
I'm new in .net Family and i've been looking asp.net webpage and following the MVC tutorials
the problem is
I'm using LinQ to Sql (2005) model and C# and i need to put a radioButton to know if a date must be initialized or not
how do i do this using html helpers ??
...
I have a ASP.NET Web application which has 2 projects(one for UI and one for Business layer)
Now when i publish this for deployment,its giving me so many DLLS in bin folder which starts with prefix "App_Web...."in the name.How can i make it into only one DLL or 2 DLLS (one for UI and one for BL) ? I work with Visual studio 2010
Thanks i...
I have dropdown menu item ("pin this site") that i need to hide it or hide menu item
itself ("My Network").
When I saw viewsource on page, I got below code.
<a class="zz1_TopNavigationMenu_1 ms-topnav zz1_TopNavigationMenu_3
ms-topnavselected zz1_TopNavigationMenu_9" href="http://mynetworkqa.spe.org"
style="border-style:none;font-...
I am aware of implementations like dynamic menu creation based on roles or pages inheriting from different base pages. Web.config for different site sections.
I do not want to use the default asp.net membership table structure in the database. I want to use something less complex.
I am looking at a possibility that roles can come and g...
Hi,
Among methods: static variables, viewstate, session and cache for avoiding on loading repeatedly and less making queries to the database.
What do you think the best method of the 4 above? I Think Cache is the best one? Or any other methods better in Asp.net 3.5 or higher?
Please advise me on this.
Thanks in advance
...
Hi Experts -
I will have 2 print buttons on a asp.net 2.0 page. How can I link / refer to 2 different print CSS to users able to print same web page in 2 different ways, thank you.
...
I'm using a datalist Control to display data in columns and repeat horizontally. I'd like to know if there is a way to create a "header" field that does not repeat for each record, instead it only displays on the left as in the image below.
Alternatively, does someone know of a 3rd party "Vertical Grid" control that provides this func...
Is there a way to use linq to get a list of textboxes in a web page regardless of their position in the tree hierarchy or containers. So instead of looping through the ControlCollection of each container to find the textboxes, do the same thing in linq, maybe in a single linq statement?
...
I'm starting to learn ASP.NET and going through the tutorial videos on www.asp.net. I understand the basic concept of web application frame works like ASP/PHP/ASP.NET. HTML/XHTML is created with special tags that the server knows to read and replace with content. I did a little bit with ASP during a summer internship back in the 90's.
...
I want to get web.config transformations working locally but apparently the transformations only occur when doing deployments.
Does anybody know of a way to run the msbuild target "TransformWebConfig" without it going through the "rebuild" process and also specify and output directory where to spit out the transformed web.config?
-Die...
I have a result set returned from a database that takes a few seconds to run. To increase performance I'm going to cache the results for up to 30 minutes. The call to the database takes a date parameter, a date within the next 60 days that the user selects from a calendar.
Here is a code sample that uses a list of strings to keep the e...
i need a "free" organization chart component for asp.net
any ideas plz ?
...
I had been doing a type check for Double for an input field on a web page but now I need to allow commas. Can this be done using a CompareValidator or do I need to use a regex validator?
...