Jump to content
Xtreme .Net Talk

nate

Avatar/Signature
  • Posts

    36
  • Joined

  • Last visited

About nate

  • Birthday 02/01/1977

nate's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I was wondering if there is a way to redirect a url other then the old traditional way of creating a sub folder and an index page with a redirect. Basically I want to do something like this: http://www.mysite.com/123 and have it redirect to something else like http://www.mysite.com/987349872345324 but I do not want to have to create a sub folder with an index page that handles the redirect. Any help would be great. P.S. I would love to do it without using variables like http://www.mysite.com/?var=123 Thanks in advance.
  2. Have you tried the AJAX html editor.content? This may solve your problem.
  3. I am using an AJAX slideshow extender on a home page for a client. It works great in IE & FireFox but it does not rotate in Chrome. This is a weird one I have not heard of. Any help or thoughts would be great. This is the site, it is the images on the home page. http://www.raglm.org
  4. I assume if you use the update panel and the progress panel, you will get your desired result. Hope this is what you are talking about.
  5. It would be something like this on the server side. ON Button Click event or postback: TabContainer1.ActiveTabIndex="2" <--printer tab 3 If you are looking for a client side you could use java script, I think something like this. getElementByID("TabContainer1").ActiveTabIndex="2" Hope this helps.
  6. I want to create a web page essentially that others can utilize in their sites but pass vars back too. I know I can use a web service and allow others to call my functions and use the data but I want to create the page data for them as well. I know I can use I frames, but then I can not pass variables back. Can I create a control/aspx page and host it so someone else can use it within their aspx page? how do I do this, where to begin? I have done the image from aspx page emulation but not the same as it is only a display page/image. I want to allow interactive features in my page. Any help or direction would be much appreciated.
  7. Not sure if you still need help. $200 a month is insane for basic web hosting. They must have a dedicated server, which may or may not be needed. All you need is a .Net server with Ajax installed. Many companies offer such services. The best I have found yet is ServerIntellect. They allow full access and full control of everything for around $20 a month depending on database needs etc. Hope this helps. I am an MCSE as well as a 15+ year programmer and quite frankly, let someone else host it if you can. Let them deal with all the headaches.
  8. I am not sure if you can set a background image in an image control. You can try to wrap it with a div and then put your background image in the div. <div style="background-image: url('physicianGraphic.jpg')"> <img src="physicianGraphic.jpg"/> </div>
  9. Sounds like a postback issue. Remember when you postback to the server, all form load events run again unless in an update panel. If you postback in an update panel and need data created after the page load, then you need to create them again as the partial page postback does not trigger the page load events again.
  10. A master page would be your best bet. You do not need panels or frames.
  11. I have this in a separate class file: Imports Microsoft.VisualBasic Public Class cboAddItem Public Value As String Public Item As String Public Sub New(ByVal NewItem As String, ByVal NewValue As String) Value = NewValue Item = NewItem End Sub Public Overrides Function ToString() As String Return Item End Function End Class I then use this in my page code: cboBusinessCategory.Items.Add(New cboAddItem("Show All", "1")) What am I missing or doing wrong? I get the intellisense error overload, add cannot be called with these arguments. cboAddItem can not be converted to string/listitem. Thanks in advance.
  12. Not sure what is happening here, please help. I have used AJAX 1.0 for years with VS2005 no problems. As soon as I move to VS2008 with the current version of AJAX weird things happen. I downloaded the sample site and it acts fine but not when i create one. Click the button multiple times you will see what I mean. Also can not close the validator callout. The HTML Editor as well is not allowing the hyper-link function as it does not work properly. PLEASE HELP! http://www.raglm.org/test.aspx My Web Config <?xml version="1.0"?> <!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the Website->Asp.Net Configuration option in Visual Studio. A full list of settings and comments can be found in machine.config.comments usually located in \Windows\Microsoft.Net\Framework\v2.x\Config --> <configuration> <configSections> <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/> <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> </sectionGroup> </sectionGroup> </sectionGroup> </configSections> <appSettings/> <connectionStrings/> <system.web> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this affects performance, set this value to true only during development. Visual Basic options: Set strict="true" to disallow all data type conversions where data loss can occur. Set explicit="true" to force declaration of all variables. --> <compilation debug="true" strict="false" explicit="true"> <assemblies> <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies> </compilation> <pages> <namespaces> <clear/> <add namespace="System"/> <add namespace="System.Collections"/> <add namespace="System.Collections.Generic"/> <add namespace="System.Collections.Specialized"/> <add namespace="System.Configuration"/> <add namespace="System.Text"/> <add namespace="System.Text.RegularExpressions"/> <add namespace="System.Linq"/> <add namespace="System.Xml.Linq"/> <add namespace="System.Web"/> <add namespace="System.Web.Caching"/> <add namespace="System.Web.SessionState"/> <add namespace="System.Web.Security"/> <add namespace="System.Web.Profile"/> <add namespace="System.Web.UI"/> <add namespace="System.Web.UI.WebControls"/> <add namespace="System.Web.UI.WebControls.WebParts"/> <add namespace="System.Web.UI.HtmlControls"/> </namespaces> <controls> <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </controls> </pages> <!-- The <authentication> section enables configuration of the security authentication mode used by ASP.NET to identify an incoming user. --> <authentication mode="Windows"/> <!-- The <customErrors> section enables configuration of what to do if/when an unhandled error occurs during the execution of a request. Specifically, it enables developers to configure html error pages to be displayed in place of a error stack trace. <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> <error statusCode="403" redirect="NoAccess.htm" /> <error statusCode="404" redirect="FileNotFound.htm" /> </customErrors> --> <httpHandlers> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/> </httpHandlers> <httpModules> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </httpModules> </system.web> <system.codedom> <compilers> <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <providerOption name="CompilerVersion" value="v3.5"/> <providerOption name="WarnAsError" value="false"/> </compiler> <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <providerOption name="CompilerVersion" value="v3.5"/> <providerOption name="OptionInfer" value="true"/> <providerOption name="WarnAsError" value="false"/> </compiler> </compilers> </system.codedom> <!-- The system.webServer section is required for running ASP.NET AJAX under Internet Information Services 7.0. It is not necessary for previous version of IIS. --> <system.webServer> <validation validateIntegratedModeConfiguration="false"/> <modules> <remove name="ScriptModule"/> <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </modules> <handlers> <remove name="WebServiceHandlerFactory-Integrated"/> <remove name="ScriptHandlerFactory"/> <remove name="ScriptHandlerFactoryAppServices"/> <remove name="ScriptResource"/> <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </handlers> </system.webServer> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/> <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/> <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> </dependentAssembly> </assemblyBinding> </runtime> </configuration>
  13. Have a strange issue. I am running Windows Vista Ultimate 64, VS2008 Ajax 3.5. I downloaded the sample site and it works great. When i try to create my own page it does not work so well. I started with just the validatorcallout. It shows up, but if I click my button again it keeps adding another validatorcallout to the page. Also, it does not show up next to the control, it goes to the bottom of the page. I can not find anything on this anywhere and can not figure out why it works in the sample code but not when I do it. i even tried to copy/paste the sample site code and I still get the same weird issues. Please help.
  14. I am using an AJAX update panel with a textbox in it. I have my trigger set to a button outside the update panel. When I click the button I have it check if the textbox is empty. If so simply Alert. However I am getting the alert twice. I click ok and it comes right up again. I am suspecting this is do to the posting back. Has anyone had this before?
  15. I am running Windows Vista 64bit - VS2005 - SQL2005 In my app my connection string is Driver=SQL Server;Server=ComputerName\SQLExpress;Database=Mydb everything works great when I run it in Visual Studio, yet if I run it from IE as localhost My connection string gave all kinds of errors. I looked around and found alot of info and came down to this: "Provider=SQLOLEDB;User ID=ComputerName\Username;Password=SQLPassword;Initial Catalog=Mydb;Data Source=ComputerName\SQLExpress;" Now I am getting login failure. Invalid credentials. I am not using any password for this db or SQL at all for that matter. I have set the login type to SQL Server and Windows Authentication. What the heck, IIS 7 is frustrating. What am I missing. Thanks in advance.
×
×
  • Create New...