92 Posted Topics

Member Avatar for plazmo

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 …

Member Avatar for sedgey
0
169
Member Avatar for luckyads

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 …

Member Avatar for sedgey
0
86
Member Avatar for csharplearner

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 …

Member Avatar for csharplearner
0
111
Member Avatar for RichLangford

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 …

Member Avatar for sedgey
0
228
Member Avatar for morecrab

MySql has a .NET component on it's site: [url]http://dev.mysql.com/downloads/connector/net/5.2.html[/url]

Member Avatar for sedgey
0
62
Member Avatar for lucky29
Member Avatar for sedgey
0
69
Member Avatar for solymar

[url]http://msdn.microsoft.com/en-us/library/aa701256(office.11).aspx[/url] This articles has some interesting angles but requires VSTO 2005

Member Avatar for sedgey
0
103
Member Avatar for himanjim

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

Member Avatar for sedgey
0
149
Member Avatar for cyberjoe

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 …

Member Avatar for Byaptia
0
147
Member Avatar for eswapna
Member Avatar for vmadhu_ece
0
92
Member Avatar for rinkuchoudhury
Member Avatar for ravichandra
0
112
Member Avatar for shAq

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

Member Avatar for boisellea
0
165
Member Avatar for kapil.goyal

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]

Member Avatar for alc6379
0
127
Member Avatar for superhuman

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 …

Member Avatar for superhuman
0
99
Member Avatar for hfpg2001

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

Member Avatar for hfpg2001
0
93
Member Avatar for mikefitz

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 …

Member Avatar for kapil.goyal
0
145
Member Avatar for edmicman

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

Member Avatar for nikkiH
0
105
Member Avatar for Sarah Lee

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.

Member Avatar for Sarah Lee
0
193
Member Avatar for Aswathy

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 …

Member Avatar for Aswathy
0
94
Member Avatar for mairtin.obrian

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 …

Member Avatar for sedgey
0
105
Member Avatar for sravankolla

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

Member Avatar for sravankolla
0
212
Member Avatar for roshan.prakash

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.

Member Avatar for sedgey
0
65
Member Avatar for bhavna_816

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 …

Member Avatar for sedgey
0
219
Member Avatar for roshan.prakash

i'd check the permissions on the folder you are trying to upload to, the folder will need to be read/write

Member Avatar for sedgey
0
66
Member Avatar for Aswathy

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 …

Member Avatar for Aswathy
0
1K
Member Avatar for Sarah Lee

just add a global.asax file, right click the web project in solution explorer, click add then select global.asax from the available files

Member Avatar for campkev
0
112
Member Avatar for raheleh

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 …

Member Avatar for sedgey
0
68
Member Avatar for Phoenix777

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

Member Avatar for sedgey
0
71
Member Avatar for labelle

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

Member Avatar for sedgey
0
82
Member Avatar for kapil.goyal

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.

Member Avatar for jbennet
0
104
Member Avatar for Rocksoft

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

Member Avatar for sedgey
0
130
Member Avatar for roshan.prakash

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 …

Member Avatar for sedgey
0
64
Member Avatar for Sarah Lee

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]

Member Avatar for sedgey
0
122
Member Avatar for web_developer

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.

Member Avatar for sedgey
0
94
Member Avatar for ssharish2005

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 …

Member Avatar for sedgey
0
139
Member Avatar for mikefitz

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.

Member Avatar for sedgey
0
65
Member Avatar for Fenerbahce

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 …

Member Avatar for Fenerbahce
0
104
Member Avatar for jerryodom

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 …

Member Avatar for sedgey
0
288
Member Avatar for davidldh

Alternatively you can use Visual J# which is MS's derivative of Java

Member Avatar for sedgey
0
57
Member Avatar for jigoro

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)

Member Avatar for sedgey
0
88
Member Avatar for simmy7

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]

Member Avatar for sedgey
0
95
Member Avatar for dubeyprateek

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 …

Member Avatar for sedgey
0
193

The End.