92 Posted Topics
Re: Hi, Heres a simple way to do it without HttpHandlers or mapping extensions to the aspnet_isapi.dll. 1. Add a script manager to your page or master page (tut tut if don’t have one already, this is the AJAX revolution!) Make sure you set the EnablePageMethods property to true). Also make … | |
Re: What you ask is possible and you could use LINQ to achieve it, by running a LINK query on your XML document. The question is should you do this? The Web.config file was designed to hold this kind of data and also to protect it, keeping your login data like … | |
Re: Probably the most professional way of handling application errors is to implement a custom page class which emails you when your application has an error. To do this you: 1. Create a custom page class which inherits from System.Web.Page in your app_code folder 2. Override the OnError Event in the … | |
Re: I would suggest downloading one of the express versions of Visual Studio 200X and registering it, after registering you get access to registration benefits, one of these is a .NET component called SpreadsheetGear 2006, it's free and makes real Spreadsheets, admittedly there is a learning curve, but essentially you will … | |
Re: MySql has a .NET component on it's site: [url]http://dev.mysql.com/downloads/connector/net/5.2.html[/url] | |
Re: [url]http://sourceforge.net/projects/gmail-api[/url] This .net api should do the trick | |
Re: [url]http://msdn.microsoft.com/en-us/library/aa701256(office.11).aspx[/url] This articles has some interesting angles but requires VSTO 2005 | |
Re: Are you 100% sure the hosting company actually allows remote access from SQL Management Studio? Many companies which provide GUI's in their control panel have started to remove remote access for security reasons | |
Re: well the recommended way in asp.net is to use .resx (resource files)files so for each page or usercontrol you would also have a corresponding resource file, in asp.net 2.0 you can also have application level resources. These are typically compiled into a .dll file and then you add a mechanism … | |
Re: Try this article: [URL]http://msdn2.microsoft.com/en-us/library/ms178331.aspx[/URL] | |
Re: you can use control .Attributes.Add("onmouseover","javascriptfunctionhere"); | |
![]() | Re: I'd probably give each instance you create a unique id, as the current method looks like its overwriting them. You can do that by setting the UserControl.ID property before adding the control to the container |
Re: Not really an asp.net question but you would need a browser plugin to do this (as you do with adobe .pdf files) for people without an office license theres a freely available word viewer which you can download here: [URL]http://www.microsoft.com/downloads/details.aspx?FamilyID=95e24c87-8732-48d5-8689-ab826e7b8fdf&DisplayLang=en[/URL] | |
Re: if this is on a hosting package then I'd ask the host, however if you are running this on IIS on your local machine, then the site needs to be configured to allow windows authentication. You can do this on the Directory Security Tab then the top setting "Anonymous access … | |
Re: yes I have seen this before, there is likely some problem with the SSL certificate on the server the web service is on, check out this article for a work around: [URL]http://weblogs.asp.net/tgraham/archive/2004/08/12/213469.aspx[/URL] it should help solve the problem | |
Re: The simplest way is to export the file as a csv (comma seperated values) with a .xls extension which will open in excel although it's technically not an excel document, the alternative is to use the office interop for excel, only trouble with that is that office will need to … | |
Re: If you are using the GUI to make your object data source then you will need to write a custom sql script to join the 2 tables on the user id so the username field will be available in your grid view | |
Re: Hi, Think you need to use the ListBox.SelectedItems property see: [URL]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWindowsFormsListBoxClassSelectedItemsTopic.asp[/URL] Then you can remove them from the orginal box and add them to the new one instead of looping through checking if each one is selected. | |
Re: basically you cant create a function from a button click and have it execute on the client, unless you are using Ajax or something like that, because the page_onload event has already fired and therefore you are only writting the function to the page. "The script block added by the … | |
Re: have you tried using the WebClient class to stream the html from the URL? I am not a VB guy but in C# looks like this: [code] System.Net.WebClient client = null; try { client = new System.Net.WebClient(); client.Encoding = Encoding.UTF8; client.Headers = new System.Net.WebHeaderCollection(); client.Headers.Add("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows … | |
Re: why not use a javascript function fired by the onchange event to check the length and prevent additonal entry if the length exceeds the max allowable | |
Re: it depends on your server or hosting but try "localhost" that often works if not check the relay restrictions in the default smtp virtual server properties in IIS on the Access tab. If its a hosting company you need to ask them what the smtp server address is. | |
Re: why not use one of the free offerings like the personal version of community server? [URL]http://www.communityserver.org[/URL] dont think theres much point in recreating the wheel on this one, unless it's a commercial project and you will be funded to develop a new forum module thers other ones like bbForum however … | |
Re: i'd check the permissions on the folder you are trying to upload to, the folder will need to be read/write | |
Re: I'd load the radio buttons into a panel or place holder, then in the code for the submit button I'd do something like if(phRadioButtons.HasControls()) { foreach(Control c in control.Controls) { Type type = c.GetType(); if(type.FullName == "System.Web.UI.WebControls.RadioButton") then you can add code to read the value and add to the … | |
Re: just add a global.asax file, right click the web project in solution explorer, click add then select global.asax from the available files | |
Re: Basically you need to save the image as blob data in the database and then retrieve it and convert it to an image again, heres a article which explains the process: [URL]http://odetocode.com/Articles/163.aspx[/URL] By binding you cant just call databind and expect magic, however by implementing the OnItemDataBound method of the … | |
Re: why not use a usercontrol as you suggest, or a series of placeholders containing the different footers, then set the visability of the placeholders by querying the url i.e. show the correct one for each different page | |
Re: Unfortunatley there is no magic wand for this one, one simplish way is to use user controls on your content pages, then have a printfriendly page which loads the usercontrols as required. That way you can show/hide content based upon a parameter on the query string | |
Re: it's probably more to do with the web browser than the version of windows, although without seeing some code or settings for the problem machine it's very difficult to tell. | |
Re: sounds like a problem with VS2003, sometimes you just need to repair the install and the error goes away. Can happen if VS crashes or if you remove ad-ins etc. etc. Either way repairing the install may solve it, or reinstalling the add-in that you may have deleted | |
Re: its not quite clear what you want exactly, but I would suggest keeping content and html seperately, otherwise you will have alot of trouble ensuring all html tags are properly closed. Why not have a master page which has a header and footer with all the required html tags, then … | |
Re: You'll have to set the style sheet theme in the init phase of the page life cycle: Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) see here for more details: [URL]http://msdn2.microsoft.com/en-us/library/system.web.ui.page.stylesheettheme.aspx[/URL] | |
Re: I'd take it up with the hosting company as it looks like the setting in the control panel is not working correctly and the site has been configured as an asp.net 2.0 site. It could also be that you have applications in subdirectories which have been configured incorrectly. | |
Re: looks like you are using the ajax.net library here, just a silly question, have you registered the http handler in the web.config file as per the instructions? Also there is a different method for registering user control classes for ajax handling. You can also check to see if the correct … | |
Re: well just before you close the child in your javascript you could do something like window.opener.location redirecting the page to itself and hence refreshing it. | |
Re: With any kind wof search it's always better to have some kind of index, database or otherwise as parsing pages for content on the fly is very slow. Is all your content flat? as in on the pages? I suppose one databaseless way of doing this would be to put … | |
Re: Just a guess but it sounds like you may have built a data source which only represents the clients table, you can manually create a sql statement to join the clients table to the employees table on the foreign key employee id, then i think your binding should work. Although … | |
Re: Alternatively you can use Visual J# which is MS's derivative of Java | |
Re: This answer here worked for me: [URL]http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=92407&SiteID=1[/URL] basically you need to disable the Visual Studio Hosting process Projects > ProjectName > Properties > Debug > disable (enable visual studio hosting process) | |
Re: the urls for the menu control should look like this: [B]~/test.aspx[/B] always use relative url's when using a menu control or navigation controls, the alternative is to fully qualify the url including the domain: [URL]http://www.x.com/test.aspx[/URL] | |
Re: Best bet is to download one of the free visual studio express versions, there is one specifically for C# here [COLOR=#1f497d]: [/COLOR][COLOR=#1f497d][URL="http://msdn.microsoft.com/vstudio/express/"][COLOR=#0000ff]http://msdn.microsoft.com/vstudio/express/[/COLOR][/URL][/COLOR] [COLOR=#1f497d]as org suggests there's plenty of tutorials online and some of the books are ok. But try to do something specific, while reading the book will give you … |
The End.