asp.net

tranzila & ASP.net 2 integration module

does anyone knows a good free dll for integration with tranzila credit card payment? ...

How to create folder in code behind page.

This is in reference to yesterday's question "How do I create folders in ASP.NET in code behind". The problem is that I want to create dynamic folders at run time. Folder names will be entered via a TextBox and output will be displayed in a TreeView. The form will submit if I enter the first folder name into textbox1 and click the "Add...

ASP.Net links won't disable if done during postback

I'm still fairly new to ASP.Net, so forgive me if this is a stupid question. On page load I'm displaying a progress meter after which I do a post back in order to handle the actual loading of the page. During the post back, based on certain criteria I'm disabling certain links on the page. However, the links won't disable. I notice...

Asp.Net Textbox spell checker control

Hi, Does anyone know if any spell checker controls exist for Asp.Net textboxes? I need a control that will check the textbox currently being edited by the user and prompt them of spelling mistakes. Thanks in advance. ...

how can i add listdictionary (how to initilize new method) in web user control?

i created Web user control. it's property is included ListDictionary; But i can not generate in web uset control. if i try wuc in asp.net page, it gives initialize error: "Object reference not set to an instance of an object." WEB USER CONTROL: protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack...

How can you move ASP.Net controls to different places on the Web form at runtime?

Is there an accepted way to "move" a control. My client wants to place a certain chunk of markup (representing some visual element) in one of several different places on the page. The locations are different to the point that I can't effect the change on CSS along (by floating it or something). I considered just putting the control in...

Linq To Sql - Update a value when another value changes

With Linq To Sql - what is the best way to update the value of one table in a database when a value changes in a different table? For example in TableA, there is a column called DateModified. TableA has an association to TableB. Now I want to set the value of the DateModified field to the current date every time the record changes in ta...

Passing objects as parameters to ActionResult methods in ASP .Net MVC from desktop client

Given the following code: using (var client = new WebClient()) { string url = string.Concat(someUrl, "SomeControllerName/", currentId, "/WriteLogFile"); var toWrite = DateTime.Now /* Code to post object to URL goes here e.g. client.UploadValues(url, someNameValueCollectionObject)*/ } And the controller method signatur...

jQuery Autocomplete in ASP.net MVC doesn't work when the control created in Ajax way

I am running an issue, could you help me out with your knowledge..? Basically, this autocomplete extension of jQuery depends onto the ready method of the jQueryLibrary. (I am not 100% sure what it does actually, but I can guess it checks wheather the DOM has been loaded, if loaded it does something as an regular "onload" event handler)....

Get size of autosized control?

I have a situation where I have several listbox controls on the same asp.net page. They are currently autosized to keep data from truncating. However, I would like to be able to determine the width of the largest listbox and then alter the size of the other listboxes to be the same. The question is... How can I access the size of the...

How do I run my own web server from home?

Hi, I thinking taking my website off of a shared hosting plan and hosting my own web server to save some $$$. I never hosted a website before and I’m very new to this. I’m using ASP.NET 3.5 and SQL Server 2005 Express. The laptop I will use as the web server runs on Windows XP, 1GB DDR SDRAM, a AMD Turion 64 mobile technology ML-30 / 1....

What is the best practice for role security for an Intratnet ASP.NET/SQL2K5 environment?

Our current Intranet environment is a little outdated. The current stack has ASP.NET 1.1/2.0 applications that are querying against a SQL 2000 database. For role security, there are user groups on the servers that users are added into (so you need to be added into the group on the test and production machine). These user groups are syn...

IE8 Win7 Facebook Connect Problem

Update 4/8/09 - I'm into a new week with no progress and no answers from the Facebook forums. Not one response over there, which is pretty disappointing. I also cannot figure out how to put a bounty on this question, but I would really, really love to get this issue solved. I have looked at many posts to see if this was posted befor...

Find the App_Data path from a WCF service

Duplicate: http://stackoverflow.com/questions/480504/access-appdata-in-wcf-service I'm trying to write a WCF function that gives me back the URI of an image in the App_Data folder so I can display it in a silverlight application. How do I get the location of the App_Data folder so that I can search inside it to find the Image...

Can you update a web user control without updating the entire site?

I have a website which uses a web user control... well, basically all over the place. It's even included in other web user controls. So I thought I could just upload the new source and it would recompile on the fly and be fine, but instead every page or control that uses it complains about a type mismatch. Because it is used in so man...

Capture who clicked a link from Website A to Website B?

Assume I have a website called Website A and it has some links on it to other websites. One of these links could be a link to Website B. Is there a way, using some existing solution, open source, or something you have to pay for where you can track who, what, where, etc clicked the link to go from Website A to Website B? Website B cou...

Design Decision - Javascript array or http handler

I'm building a Web Page that allows the user to pick a color and size. Once they have these selected I need to perform a lookup to see if inventory exists or not and update some UI elements based on this. I was thinking that putting all the single product data into multidimensional JavaScript array (there is only 10-50 records for any p...

Generic drop down list

I want to create generic drop down list in ASP.net 2.0 using C#, basic concept is which ever Nhibernate object type with which I initialize this list it should populate dropdown with all values from that objects underlying table. Any suggestions how can I achieve this. ...

Ajax calendar and dropdownlist display issue

I have a ajax calender extender and dropdown placed just below it, problem is in IE whenever calendar control pops up it pops up beneath drop drown. I tried z-index but doesnot works ...

How Systems like AdSense and Webstats Work?

Hi Dears! I am thinking about working with remote data and receive or send data actually in external web sites. exists a large amount of examples in World Wide Web are working. For example: free online web tools like web stats OR Google's AdSense .... .you know in such web services some code will generate for publishers and the publisher...