I have the code below that shows a throbber and makes a getJSON call to an MVC action when the user changes an entry in a select. This all works great except there is a default -- select -- element in the list for which I don't want the getJSON to run.
However, I can't work out how to apply conditional logic to hooking this event. The...
Hi All,
Does anaone know how to match a TreeView controls look, to the treeviews you see for example in my documents of windows 7?
Thanks
...
I have been racking my brain for a few days trying to get a list of calendars from Google using DotNetOpenAuth.
I can successfully get a list of contacts using the DotNetOpenAuth Samples. I have integrated it with my domain using the OpenId+OAuth. Everything works great to get a list of contacts.
So from there I modified the code to ...
Guys,
Can you please tell me that ,I wants to learn Azure , by creating one - two
sample Application, then is there any free account category on Microsoft azure portal ?
So that I can decide whether to go for Azure or remain stayed with Amazon EC.
...
Hello Guys,
I have to develop a ERP System for a 2,000+ end users Organisation.
Could You please suggest me with comparable points that among (Java or .Net)
in which technology I should invest money and time? Although I have done
some average projects in both , but this project is going to be very big in near
future in terms...
Hello,
My website is doing some http posts to another server and I need to attach a certificate.
I am using this code to open the certificate store and getting the certificate I need:
X509Store store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
store.Open(OpenFlags.ReadOnly);
X509CertificateCollection certCollection = sto...
I want to print a short receipt in receipt printer, however, i print a whole long web page size.
I refer to the method searched in google and make a dll and register. However, get a automation error can not create object.
THen i regsvr32 scrrun.dll and set allow intialize not safe activex control in internet explorer
it still get the...
Hi,
I've put a password around a website for preview purposes - it has .htm files generated by a content management system and .aspx files.
On my pc the Forms authentication restricts the .htm - but deployed live it does not - only the aspx files are restricted.
I realise that it maybe something specific to my hosting package (pipe10)...
My new office project is based on an MVP design and is in VB.NET (.NET 3.5), using multiple libraries (like EntLib, internal corporate framework, etc.). The number of DLLs used as references is so huge (almost 50) that when I try to build/debug the application in VS2008, it takes almost 3-4 minutes to get the website running successfully...
I'm trying to expose a webHttpBinding EndPoint using Framework 4.0.
<endpoint address="web" binding="webHttpBinding" contract="MyContract"/>
However, when browsing using WFC Test Client, I see nothing. If I change my Framework target to 3.5, it works fine.
Is there something different in 4.0 to get this to work?
...
"01 ABC"
"123 DEF"
How can i can the value of "01" and "123" in asp.net?
I have tried the following code:
Dim ddlSession As String = "01 ABC"
Dim getSpaceIndex As Integer = ddlSession.IndexOf(" ")
Dim getSessionCode As String = ddlSession.Remove(getSpaceIndex)
but the getSpaceIndex will keep return -1 to me...
...
I was looking at one of the job postings the other day and surprised to see this requirement.
"Knowledge of standard data structures ( b-tree, linked list, hash ) and standard algorithms ( sort, merge, b-search ) "
The main requirement is .NET 3.5, C# UI Programmer though. I studied about them back in college but never got a chance to i...
Hello. when i use embedded javascript functions i can get client id of elements with this code
for example : document.getElementById('<%=buttonXXX.ClientID%>' )
but now i am using external javascript file for caching and faster rendering
but this code does not work any more for getting client id's of elements
it gives error
how can ...
I am writing an ASP.NET application that initializes some contextual data based on stuff sent through the Request object. How should I be storing this so that it is only visible to objects dealing with the request?
Essentially I have an HttpModule that looks at the request, and does something based on the incoming data:
public void OnB...
created website in VS2008 with createuser and login page.
I was able to run the createuser page, but while trying to run the login page i received error:Server Error in '/' application.
resources not found.
thanks for help in adv
...
We need to display all the thumbnails in one folder (e.g. c:/photos/101/tn/ folder) and then select one image as cover photo. Once the editor clicks on the "Set Cover Image" button, grab the select photo ID. Once the id is grabbed, I will store the info in the database.
...
i have done my project in visual studio .net 2008 and wen i try to compile i get the following error as:
WebDev.WebServer.exe has encountered a problem and needs to close. We are sorry for the inconvenience.
and after this
unable to connect to the asp.net web devolopment server error is coming
pls help me
...
Is it possible in EF4 to change conventions for a whole DbContext rather than on a per entity basis?
Currently when I run EF4 queries I'm getting an error on foreign key relationships
Invalid column name 'Account_Id'.
The table being queried (User) has a column named AccountId which is a foreign key to the related table (Account),...
I wish to do something like this:
return RedirectToAction<SomeController>(c => Index(someparameter));
How to do this ?
Thanks,
D.
...
Apparently Mono replaces references to SQL Server membership provider with sqlite membership provider (see ASP.NET_Settings_Mapping). Is there any way to convince Mono to use SQL Server for the membership provider?
When I try to log in to my web app, I get the following:
System.Configuration.Provider.ProviderException: Operation aborte...