Search

You searched for the word(s): userid:662519

Matching Posts

  • Bind to Text Property of Composite Control

    I have a composite control that consists of a TextBox and a RequiredFieldValidator, so it's basically a Required TextBox control. The control is located inside of a formview, when in edit mode, and I want to Bind the database value to the Text property of the Text Box. How do I do this? Thanks! Below is my code for reference [ToolboxData(@"<{0}:TextBoxReqd TextBoxID=""txt"" ValidatorID="""" Text="""" ValidationGroup=""""
    Posted to Custom Server Controls (Forum) by jliz2803 on 10/14/2009
  • Mailbox unavailable. The server response was: 5.7.1 Unable to relay

    Hi I am trying to send an email with the below code. It works fine when I send it to an email within the same domain as the Smtp host but when I try to send an email somewhere outside of the host domain I get the following error:"Mailbox unavailable. The server response was: 5.7.1 Unable to relay" I believe it is due to a configuration setting in IIS or on the server, but I don't know which one it could be. ANy help would be greatly appreciated. MailMessage mm = new MailMessage("JLizzi
    Posted to Web Forms (Forum) by jliz2803 on 9/25/2009
  • Re: Mailbox unavailable. The server response was: 5.7.1 Unable to relay

    The mail host is not being used from IIS SMTP virtual Server. It is our mail server here at the company the one we connect to with Exchange and the address we go to for our Office Outlook Web Access. The application calling the mail server is an intranet application, would that make a difference in sending emails out to addresses other than ones with the same domain? Or would it not matter since the mail host is doing this and is visible to the public? Also, does anyone know of any good articles
    Posted to Web Forms (Forum) by jliz2803 on 9/25/2009
  • Relative position of DragPanel

    Hi I have some drag panels and am using the following code to obtain and save the positions of each element. This works fine I call a webservice to save the positions of each element to a database for each user. However, since this is returning pixels if the user resizes the window or uses a different computer to access the site each element isn't really where it was the time before. I was wondering if there was anyway to get top and left locations based on percentages or em's instead of
    Posted to ASP.NET AJAX Control Toolkit (Forum) by jliz2803 on 6/22/2009
  • Re: Relative position of DragPanel

    //function to get position of Element and call //web service to save to database function SavePanelPosition(sender) { var elem = sender.get_element(); var loc = $common.getLocation(elem); //alert(loc.x.toString() + ' - ' + loc.y.toString()); UserCustomization.SaveUserSettings(elem.id, loc.x, loc.y, null , OnTimeOut, OnError); } //on page load call webservice to check for positioning //in database for a user function pageLoad() { $find( 'DragPWelcome' ).add_move(SavePanelPosition);
    Posted to ASP.NET AJAX Control Toolkit (Forum) by jliz2803 on 6/22/2009
  • Re: Relative position of DragPanel

    Thank you so much for your help with resolutions, but unfortunately it isn't working as the elements show up in order on one monitor and all the way across the screen on another?
    Posted to ASP.NET AJAX Control Toolkit (Forum) by jliz2803 on 6/22/2009
  • Export to Word in Landscape

    Hi I know this has to be a repeat question on here, but every time I searched for it on this site it kept saying no results. So is there a way on the export to word to set the page to landscape mode? I am trying this right now but no luck @page{ mso-page-orientation:landscape; }
  • Re: Gridview in TabContainer

    I tried the following but it didn't help. Thanks for the articles, tho I did not find a solution to my problem, I found a better way to handle the error for the user. 1. ValidateRequest="false" 2. EnableEventValidation="false" My problem seems to be a little different than everyone else's. Where everyone else can manipulate some of the page directives to fix their problem to see that a line of code is the problem. Mine happens everytime but only after around 10 postbacks
  • Re: Microsoft Word Page Margins

    Thank you so much for your reference. I greatly appreciate it. One last question...do you know how to force page breaks within word on an export such as this? Thanks again!
  • Microsoft Word Page Margins

    Hi I am using the following code to display a table in Microsoft word. Is there anyway to set the page margins of the document? string style = "<style> @page{ margin:.5in .75in .5in .75in;}</style> " ; //SWE.ContactManager.Utilities.ContactListToWord ml = new SWE.ContactManager.Utilities.ContactListToWord(); SWE.Candidates.CustomReports. RankingForm rf = new SWE.Candidates.CustomReports. RankingForm (); Table t = rf.CreateForm(); Response.Clear(); Response.AddHeader( "content
Page 1 of 6 (60 items) 1 2 3 4 5 Next > ... Last ยป