Forum Array

Web Forms :: Validation Summary Not Showing Up?

I've added a CompareValidator and ValidationSummary to a web page. The CompareValidator is working fine, but the validation summary never shows up even if I force a post back. I've verified that both controls have their ValidationGroup property set to the same value.  Is there anything else that would cause this behavior?

View Answers

Very Similar Questions

Web Forms :: How To Show The Time Needed For A Page To Show
I wnat to evaluate the performance of my web page. How can I show the time comsued of a page?

Web Forms :: Showing Excel On Web Page?
I want to show Excel objects and its functionality on my web page. Is there any way to do so? I want to show it the way google spreadsheet is.

Web Forms :: Validation Activated Only In Single Area?
i am using panels and each panel contain seperate set of controls with validation.the problem I want to put multiple panels in the same page put I want each panel to activate  it's validation fields not the other panels.

Web Forms :: Date Validation Causing Multiple Error Messages?
When i click on the Search Button OR the Count Button, i get BOTH error messages - why ? I should only get one error message. [Code]....

Web Forms :: Prevent Enter From Causing Validation?
I have an HTML text box and button: <input type='text' onkeypress='onEnter(this, event);' /> <input type='button' /> This works fine (when you push enter, another function is called) unless the page has a FormView control on it.  In this case, pushing Enter in the textbox above attempts to validate the form on the page.  It will still correctly call the onEnter function, but I need the Enter keypress to not cause Validation of any other forms on this page. All input fields in the FormView are part of a ValidationGroup, but this doesn't seem to affect anything. What is the best way to keep the .Net validation from happening when I push Enter in my HTML textbox?

Web Forms :: Button Causing Validation Inside A RadWindow?
I have a form that when you click a button, an ajax RadWindow opens with a text box and a button so it can scrape information from another web page.  I have set the button that causes the postback to CausesValidation="False", but after it does the postback after loading the scraped information into other controls, it still causes validation to fire. how to make it not fire the validation? 

Web Forms :: Validation For Calendar Control?
I have created a calendar control in mvc using linq to sql.I have used jquery to create calendar control . I have to validate my calendar control as a required field.

Web Forms :: Can't Open File Msg - May Not Have Permission To Open It
I am getting this error "Cannot open file msg. The file may not exist, you may not have permission to open it, or it may be open in another program. Right-click the folder that contains the file, and then click Properties to check your permissions for the folder. "  while reading .msg file.What can be the reason.

Web Forms :: Masterpage Won't Display Picture If Page Is Not Saved In The Same Folder
i have a master page in a root and some pages in root and works perfectly, but now i need a different folder (secure) and in this folder i have an Admin page but doesnt show icons from master, only the placeholder. If i change the url from .css (url('images/page-bgglare.png') to (url('../images/page-bgglare.png') works the pages inside the folder but doesnt works the pages in root.

Web Forms :: PostedFile.FileName Not Returning Full Path?
i have a file upload control as below: <input id="txtLocalResource" style="width:100%" type="file" size="16" name="txtLocalResource" runat="server"> in my code when i look at txtLocalResource.PostedFile.FileName it returns only the filename, the rest of the path is missing? i am using ie8 and vs2010.

Web Forms :: Ontextchanged Attribute Of Textbox Not Firing?
I am using the following line is my code and the onTextChanged event is not firing. But when I use the onClick event on the same code, it's firing. textbox1.Attributes.Add("onClick", "SetValue();") But I need to do my calculations only if the value in the textbox is changed not when the user clicks on the textbox.

Web Forms :: Log Out Button Not Working - Returns Error BC30506
I have a log-in panel that when a user is logged in will show a Log Out button. Only problem is when I go to debug I get the error message: "error BC30506: Handles clause requires a WithEvents variable defined in the containing type or one of its base types." This is my back-end code: [Code].... And this is the front-end: [Code].... The log-in button works fine and I was just wondering if any of you could spot what is wrong as it looks like it should work perfectly as it is the same as the log in button.

Web Forms :: Master Page Wrap Is Not Visible?
Master pages wrap (with images) is not visible for some pages in the website. All pages in a members only folder are not inheriting the master page lay out. It looks like I need to specify the path somewhere due to the folder structure. What am I doing wrong? Thanks for your help. I have Images folder in the root, few pages that work as expected in the root and then couple pages in the Members only folder.Problem is with these members only webpages. 

Web Forms :: Why CheckBox Is Not Getting Checked On OnCheckedChanged
I have a CheckBox field inside a Formview. <asp:FormView ID="_fvApplicant" runat="server" DefaultMode="Edit" OnItemDeleting="ApplicantItemDeleting" Width="100%" DataSourceID="_dsApplicant" ondatabound="ApplicantFormBound"> <asp:CheckBox ID="_chkSuitable"   OnCheckedChanged="test" AutoPostBack="true"  CausesValidation="true" runat="server" Checked='<%# Bind("Suitable") %>' /></td> In my Code Behind in test method I am trying to set the checked to true, but in the ApplicantFormBound event when i debug it is never true...any reasons why? Basically I want to set the Validator to true when checked. protected void test(object sender, EventArgs e) {                 CheckBox vld = (CheckBox)_fvApplicant.FindControl("_chkSuitable"); vld.Checked = true; _fvApplicant.DataBind(); } protected void ApplicantFormBound(object sender, EventArgs e) { var chk = (CheckBox)_fvApplicant.FindControl("_chkSuitable"); if (chk != null) {........

Web Forms :: How To Show Rss Feed In Website
i am new to so that i am asking these question. i have one url contains Rss format in xml tags. how to read that rss using code. any solution to read rss feed using coding .

Web Forms :: Show Multiple Line Listitem In Asp:ListBox
its possible to show multiple line text in listbox. For eg. I have two records as follows #1 Pizaa 1 : BBQ Chicken Add: Extra Sauce Add: Extra Cheese #2 Wings 1 : Hot Spicy Add : Extra Red Pepper Remove : Cheese I have to provide "Remove functionality" , listbox is the easiest  to provide remove functionality. I cannot modify above record format. If its not possible, then what is the alternate to overcome this issue.

Web Forms :: List Box Value Is Not Populated And Reflected In Code Behind With JavaScript
I have a listbox that I am populating at runtime with javascript. After the listbox is populated I am using a button to get that value. on button click when I am trying to get the value it is the listbox item count is 0, Can anyone tell what's wrong after t he javascript populates the code,I have written the code in button click : for (int i = 0; listbox1.Items.Count - 1; i++) { string s = listbox1.Items[i].ToString(); } the value of count is showing as 0, though it has the values populated. What I am missing ?

Pictures Not Showing In Visual Web Designer?
I'm totally new to Visual Web Developer. I just installed Visual Web Designer 2008 Express (and SQL Server 2008 Express) and am following along with the video tutorial.I created the web page just like the gal in the video said to, created the Images folder and added images to it. I then dragged a couple of images onto the page (just like in the video example) and when I run the Start Debugging the web page comes up with everything there except there is a little "x" where the picture place holder is and I can't see the picture. Why not and what do I need to do to be able to see the pictures? I worry as to wether or not I will be able to work on the rest of the tutorials to learn this stuff if it isn't working right and I would really love to start creating a web site in the real world. 

Web Forms :: Page Scrolling Not Smooth?
I have a page with three tables, three charts and some other stuff. When I scroll up or down on the page it tries to jump to some other places, scrolling is not smooth. After a few minutes I also get this error popup: Error: Sys.WebForms.PageRequestManagerServerErrorException: The underlying connection was closed: An unexpected error occurred on a receive. The same behavior is noted on all pages with charts. aspx page code: <%@ Page Language="C#" AutoEventWireup="true"  MasterPageFile="AppMasterPage.master" CodeFile="ViewBG.aspx.cs" Inherits="ViewBG" %>

Web Forms :: Event Handlers Not Triggering Any Longer?
I've been working on a web form that has lost it's ability to respond to most event handlers, though code that I write in Page_Load still fires.  No button click or text changed events will fire.  This has been working for months, and suddenly stopped.  I did a windiff comparison to an older version of the webform, and don't see anything suspicious.

Web Forms :: Null Reference - Not Finished Creating Component?
I have a custom component: [Code].... [Code].... I try to create a new component instance like this:[Code].... [Code]....

Web Forms :: How To Set The Checkbox State "checked Or Not Checked" From A Database
In the code I have here, I need to set the checkbox state from a database but I dont know the properties: [Code]....

Forms Data Controls :: Listview Not Updating Products And Not Turning Back To Itemtemplate
I have a listview showing the data, and that i will use to Show, Edit, Delete, and Insert data. I added a ASP.NET Ajax HTML Editor to the EditItem Template. I click on EDIT button and it turns into the EditItem Template, i modify the data and when i click UPDATE it does nothing. Neither updating data or turning back to ItemTemplate. Here is its code: [Code].... And the Code behind: [Code]....

Web Forms :: Should Go To Login Form After Clicking Link In Mail
I am sending a mail, in this Emailbody see the code below Emailbody += "<td nowrap=nowrap><a href=" + lblSubConNo.Text + "><strong>Click Here</strong></a></td>"; whernever user get thi mail there is a link (Click Here) in this mail which redirects to SubContractFin.aspx form with a query string id. thorugh this query string I am doing somthing on SubContractFin.aspx form.Now I want that if a user click this link it should goes to my login.aspx form and after successful user login it goes to SubContractFin.aspx form with same query string id.So how I need change my email body code.

Web Forms :: Fill Html Form And Send Mail?
the members are occuring html form and adding one submit  (id must btnPost) in fck editor. and saving. visitors are visting to this page and filling this form and click btnPost. I want to send mail this fill form . but texts, selects, radios must be  like fill form. how can I this.

Web Forms :: Use Windows Form To Authenticate Against Asp
I have a ASP.NET website which uses the standard ASP.NET Login Control for authenticating users. The user information is stored in a SQL Server database which is not accessible from client side. I want to write a standalone desktop windows form application which requires user to login with the same credential (username and password) used on the website. For the web-based form authentication, it's simple just to use the login control. Howerver, I have no idea for how to deal with the login for windows form application. My naive idea is to create a login web service which windows form application can utilize.

Web Forms :: Clear The OutputCache Across Web Applications?
Is it possible to clear the output cache of one web application from inside another web application? Reason being... We have several wep applications structured like... [URL] Pages in /area1/ and /area2/ are cached and are managed through /intranet/cms/. When a page is edited using /intranet/cms/ I want to clear it out of the cache in the appropriate /area#/ application. I already tried using a VaryByCustom that looks up a guid stored in the HttpContext.Cache but that seems to be cached per web application, that doesn't work. Really if there were any way of passing data between web applications on a single server, that would solve my problem, since I can use that + VaryByCustom. One thought was to create some file and useHttpResponse.AddFileDependency to make it a dependency in both applications- but this is less than ideal because I have many pages and therefore would need many files. Another idea is to create some URL in the /areaN/ apps that clears the cache for a given page and just make a request from the /intranet/cms/ app to that URL to clear the cache.  This would work, but seems a bit clunky.

Web Forms :: Visual Web Developer 2008 Express Book By Eric Griffin
I am using the above book to learn ASP.NET 3.5 SQL server 2005 and C#. When I run the code as is given in Listing 5-7 I get 1 error message and 5 warnings. Language="C#" MasterPageFile="~/Admin/MasterPages/PersonalPorter.master" AutoEventWireup="false" CodeFile="Default.aspx.cs" Inherits="Main" <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="server" </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="PersonalPortalContent" Runat="server" </asp:Content> Error 1 The directive 'master' is unknown. C:UsersdavebeckinghamDocumentsVisual Studio 2008WebSitesPersonalPortal2Default.aspx 1  Warning 2 Validation (ASP.Net): This attribute name must be followed by an equal (=) sign and a value. If the value is in quotation marks, the quotation marks must match. C:UsersdavebeckinghamDocumentsVisual Studio 2008WebSitesPersonalPortal2Default.aspx 1 5 C:...PersonalPortal2...................

Web Forms :: Can't Delete Web Part?
I have custom user controls each with a SQLDatasource and a GridView in a DeclarativeCatalogPart.  When I try to delete a control from a WebPartZone I get the following error.The SqlDataSource control 'SDSOnCall' does not have a naming container.  Ensure that the control is added to the page before calling DataBind.

Web Forms :: Web Page That Allows Multiple Database Row Updates
We currently have a page with a listview control that has textboxes and an update button for each row. Users are able to update the database one row at a time.This is problematic in countries where the internet connections are very slow because a round trip is needed for each row update and this can become impossible to use.We need to create a page which allows multiple row updates so that each round trip is more productive.  There woudl be just one update button on each page and users could enter values into each row.  Clicking the update button would update each changed row of the database.We currently use linq 2 sql.  I would imagine that we could still use this in the above scenario??? Or is there a better data connection methode to use in this scenario.

Web Forms :: Web Control - Multiple Selection Drop Down?
Am creating a user control for multiple selection drop down( i e dropdown with checkbox list) as shown. It works fine if i have only one instance of the control in a page. But it fails for more than one. I guess its java script client id issue. but i checked even that but unable to found :- This is my .ASCX file. [Code]....

Web Forms :: Passing Multiple Parameters To An Exe From Web Application
I need to execute the following exe file with multiple arguments from web application "C:Program FilesSysteminvoke.exe" /project "UPLOAD" /app "Default App" /task "XMLGEN" /parm.OutputDirectory "c: emp" I tried the following code, [code]....

Web Forms :: Make Validation Controls Trigger Only Not Clicking On Submit Button And Not On Other Na...
I have required validation controls on a page.  If the user got to this page by mistake and wants to go to a different section of the website using the navigational buttons; required validators are triggered and it will not let the user navigate away.  Ho do I get validators to trigger only when a submit button is clicked?

Web Forms :: Hyperlink In Email - Shows Text Only And Does Not Link To Anything?
I have a Mail class set up on my site that should be sending an email to the user after they make an account. It will include a link for them to click on that activates the account - I have success in sending the email, however my hyperlink shows text only and does not link to anything.  here is a section of my mail setup [Code].... Here is the section that inserts the link  [Code].... I just put yahoo for testing purposes. So basically I see "Click on the link below to activate your account" and then "Click Here" with no link.

Web Forms :: User Links From One Page To Another Using A Hyperlink, The Site Map Does Not Seem To Show...
The 3.5 SiteMapPath Control shows the site map but not necessarily the path thru a site.  If a user links from one page to another using a hyperlink, the Site Map does not seem to show the actual path, only the site Map. If this is incorrect, please let me know.If it is correct, do you know of another control that will show the actual path thru the site in a session?

Security :: Validation Does Not Fire On Createuserwizard?
I have a createuserwizard which has been working recently. Even though the form has the necessary validation elements like requiredfieldvalidator, comparevalidator and so on, the validation on client side does not fire and form is submitted and saved.I checked twice the code, nothing seemed wrong and have no what might it caused.

Validation Built Into A Form On Site?
I'm having some trouble getting some kind of validation built into a form on my site.  I'm using multiple scripts in a form including a lightwindow, as well as some other scripting I found to allow me to submit my form inside the lightwindow.  I'm dying to get some kind of validation code added to the script to stop all of the spam emails, but I'm not able to do it, as I don't truly know PHP.  I tried using a recaptcha, following the instructions carefully, but I think my problem there was that I don't have a simple Code: [Select]<input type="submit" /> instead, I have: [code].........

HTC Desire :: Facebook Contacts Not Showing Up To Link To Existing List
I had to wipe the phone and start from scratch, i've just noticed that i'm not able to link my fb contacts to my names stored on the phone.

HTC Droid Eris :: Facebook Friends Not Showing Up When Try To Link
I am having trouble linking my Facebook contacts... I upgraded to 2.0 today and when I attempt to search for and link a Facebook profile to the phonebook entry, it tells me "no matches found." I've tried reSyncing and restarting, and nothing helps.

Web Forms :: Turning Off The Timer?
I think I know the answer to this, just want to make sure.  Question:  there's no way to turn off a timer in ASP.NET on the client side (easily—I've seen the undocumented hacks on the net).  Therefore, you have to set up you own logic client side while the timer is running server side, correct?  I went through these examples and understand them: So, the pseudocode for a trigger done programically—so you do something when somebody clicks a button Button1 would be-- after you set up a ScriptManager, UpdatePanel and suitable ASync PostBack triggers in XAML (as per the above links) so that the Ticks event is triggered in the UpdatePanel: public partial class MyWebForm : System.Web.UI.Page     { bool myTriggeringBoolean; //used to turn off and on code in the Timer's Tick event [code]....

Web Forms :: Turning Off An Anchor?
I have a simple navigation control which takes a property "ActiveLink" that should turn off an anchor tag. Whether I use an HtmlAnchor or an asp:HyperLink doesn't matter to me, but how do I get the server to turn off the anchor and just get it to show the text? Do I need to show both an anchor AND a label and swap them out in turn? It seems kind of redundant. The HtmlAnchor.Disabled property isn't doing it, and neither is the HyperLink.Enabled property.

Web Forms :: How To Open Link To Pdf File In New Tab Using HTML
I have an html page which contains link to open pdf file. however this link opens in adobe reader when i click on it. I have set target property to blank. but it doesnt work either. I want to open this pdf file in new tab in the same window.

Web Forms :: Turning Markup Into Codebehind Code
I have the following markup for a paypal button but i want to be able to set some variables from the code behind eg the cost/price and ammount, im new to aspx and im not sure weather i have todo the whole form from the code behind or weather or not i can access the form from the code behind, Code below. [Code]....

Web Forms :: Turning Off The Autocomplete Feature For A Textbox
One thing I really love about web browsers, is the autocomplete feature they have for different controls, like textboxes in forms.  However, some times users get confused with the dropdown appearing.  So, we would like to be able to disable the autocomplete feature for some textboxes on some of our ASP.NET WebForms pages.  Isn't there a property which controls that?  Or is that done through JavaScript?

Web Forms :: Turning Off Saved Passwords/autocomplete?
I have an application where I don't want the browser to be able to remember passwords. I can see the AutoCompleteType = disable and that seems to work in IE, but I also need to support FireFox. Setting autocomplete="off" doesn't seem to do anything. Is there anyway for me to kill the autocomplete of a password text box in FireFox?

Motorola Droid X :: Contacts Showing In Phone But Not Contact List
Came over to the X from a Storm 2, the verizon rep brought over my blackberry contacts to the X.The problem is, when i go to phone, these numbers show up, but if i go in thru contacts it only shows contacts i have setup since i purchased the phone.I did a search and could not find this exact problem, any other former BB users have this problem?

HTC Desire :: Contacts Not Showing Phone Numbers
I ve with my HTC Desire. Let me explain : When I go on PEOPLE I see my contacts there , if I click on them I cant see any phone number or mail nothing it just show me the contact name then under the name I see DETAILS then INFORMATION and down I can read ringtone and send to voicemail and then last Edit. Why is that? I dont think is normal and honestly makes me really depressed coz I cant call normally.

Samsung Epic 4G :: Phone Contacts Not Showing Up In Gmail Contacts On PC
How come new contacts created on the phone are not showing up in my Gmail account online? Is there a way to keep everything synching in both directions? Most of my contacts are in Outlook, but I'm trying to use Gmail to keep things simple.

Creating A Log In Web Form To Access A Website
What's the best way to create a log in web form to access a portion of thewebsite?Shelly BrownDirector of Web Services email@removed

Web Link On A Form
Is there any function which will lunch default webbrowser with url of my website? If I only know where is stored any info about webbrowser it could be much easier to do it.

Web Link On Form
Hi Friends, yet another one ?? I want to create a web link on the form so that when the user click on the link, the browser open the url.A label is enough for link but How to activate the browser whenuser click on it ???Thank You all for ur grt hlp....

Web Link In VB6 Form
I'm sure there's some easy way to put a clickable URL on a form. I'd prefer if it just called the default browser.So, is this one of those "it should be easy" questions, or can somebody give me a hand?Thanks

Sprint HTC Hero :: Some Of Facebook Friends Do Not Show Up
I just noticed that for some reason, when I try to link some of my Facebook friends with their respective Contact under People, they do not appear in the list. I then go back to the FB app and I do see them in there.

HTC Incredible :: When I Add A Contact Manually / Does Not Show Up In Gmail
On my Nexus One, when adding contacts in the phone or in Gmail, they would show up on both the phone and Gmail contacts on my PC. With my Incredible, when I add contacts in Gmail, they show up on my phone, but not vice versa. How can I add contacts to my phone so that they will become Gmail contacts?

Motorola Droid :: Facebook Photos Not Showing
In going through my friends list on the Facebook app I've noticed that 10-15% of my friends photos don't show. Has anyone else experienced this?

Motorola Droid :: Facebook Pics Not Showing Up In News / Live Feed
When I purchased my droid a month ago, all the pics on facebook for the live/news feed were showing up perfectly. About 2 weeks ago, none of the pictures display. They only have a "x" next to the update. At the bottom of my profile page, there is an option that shows: Photos: Off - On - Max. The setting is set to On.

Android :: Gmail Address Book On Web Contains Field For Birthdays - Why Not In Address Book
The Gmail address book on the Web contains a field for birthdays, so why not the Android address book? While I'm sure the app could undergo a lot of changes (and everyone would have different ideas) something as basic as a birthday seems obvious.

Sprint HTC Hero :: All Contacts Not Showing When Put Into Groups
Strange curious thing, but, in All Contacts, even in Google, the contacts I have in Groups like Family aren't showing. I have to actually go into that contact set to get them to show. I would have thought that All Contacts, would have actually been all not some.

Samsung Captivate :: Contacts Not Showing - Can't Add Picture
Guy at att store put my sim card in from my iphone 3g and none of my contacts showed up, he played around with it and got it. but when i wanted to go add a picture to the contacts it wouldn't allow me. i took the picture, went to set as, clicked contacts and then none of my contacts were there. Any idea on what i can do to fix it or what i am doing wrong?

Sprint HTC Hero :: Contacts From AT&T Sim Card Not Showing In People / Way To View
I just bought a Hero yesterday and had the Sprint store transfer my contacts from my AT&T sim card. Everything seemed to work fine except when he looked in the "people" icon, nothing was there. So after a few more tries I left. When I got home, I noticed that all my sim card contacts, including my Facebook contacts, were visible when I hit the "phone" icon. My question is, how do I get my contacts in the "people" icon? I want them on the first tab "all". I was able to get one of my contacts in the "favorites" tab but it takes too long to get there. I want to hit "people" and see all my contacts right away.

WCF Not Deserializing JSON / Parameters In Web Service Are Null
I am having the same issues as per this question: WCF not deserializing JSON input..I am at a loss and desperate for a solution. I have scoured the net for answers, but I have found only this question that matches my exact problem. My datacontract parameter is also nothing when the service starts.I have tried the points of the answer in the question above, but they provide me with no clues (The web service executes OK -I am not getting any exceptions - and I can't see what the deserializer is doing - or not doing as the case may be).I am using POST, due to the size of the nested JSON.If more detailed information is needed, I will provide it on request.[code]

Web Forms :: Create A Link Button Dynamically?
I have this page that can view all the products... the products can also be viewed alphabetically by clicking a letter from a - z A B C D E F and so on...  <--- Like this.. my problem is what control will I choose (because im confused what control to use)? and how to dynamically add this to the page?

Web Forms :: Open Excel File From Link?
I have a requirement where i need to open excel file from system using link i build link from code <a href="path fo file"> but this does not work from aspx page if i put same thing in seperate html page nd run it works fine

Web Forms :: Remove Bad Code On Html Render Page
Im woking with aspx. And when I view source HTML I saw some code [Code].... I hate it. It's not clear and not validate.  When I working with PHP or ASP, I can get a pure HTML page. But can't with ASP.NET.

Web Forms :: How To Dynamically Create HTML File From The Code
Precisely and concisely, I have aspx page that has only one button "Generate". If the user clicked on this button, one HTML page should be created. The created HTML page should have title "Home" and the Body should contain "Hello World". 1) What is the code that should be written inside "Generate" button in order to accomplish this functionality? 2) Assuming the HTML page gets created, How to store it inside specific folder on the local drive? Or how to store it inside DB?

Web Forms :: Open Link With Aspx?
I have a Link in my Gridview and when i click it i want it to open in a page with certain "design". I want when i click the link to take its ID and pass it over the handler. Like for exaple clicking on a news Title and open the article to view the entire article.

Web Forms :: How To Open A New Window Using Link Button
I am trying to navigate it to another page using Link Button and in the .cs file, I am using Response.Redirect. But I want it to the open in a new window. The reason why I cant use hyperlink is I cant use Command Arg and Command Name which I am using in the Link Button. I tried the below Javascript, But it's coming as a pop up for the first time when it loads. I don't want it in that way also. Is there a way like Hyperlink '_blank'. public static void OpenNewWindow(string url, Page thispage) { string fullURL = "'" + url + "', '_blank', 'fullscreen = no, status=yes,toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes,titlebar=yes' );"; ScriptManager.RegisterStartupScript(thispage, typeof(string), "OPEN_WINDOW", fullURL, true); } .cs <asp:LinkButton ID="lbtn_photo" runat="server" Text="Upload Photo" OnClick="Upload_Photo"></asp:LinkButton> protected void Upload_Photo(object sender, EventArgs e) { Response.Redirect("UpPhoto.aspx?id=" + Request.QueryString["id"]); }

Web Forms :: Open Link In Masterpage Contentplaceholder?
I have a master page that contains a menu, the menu contains links to pages outside the website, how do get those links to open up in the main contentplaceholder  of the master page?  I tried setting the target to the ID of the contentplaceholder but that didnt work.

Web Forms :: How To Add CSS Dynamically (no Link)
im trying to add in my form css style dynamically without use HtmlLink class and <link> tag, i want that in HTML Code appears something that:[Code].... I have a CSS External File, and I don't know if exists any way to do this, because all ways that i saw are creating the style individually and adding with Page.Header.Style

Web Forms :: Custom Validator For Comparing Passwords?
I need to create a "real time validator"  to compare values from two TextBoxes without having to do a postback. They are password fields, so I need to make sure that the value of both is the same, and at the same time, I'd like to be able to indicate whether the length of these values complies with a minimum length that I specify. I'm also aiming to have this "validator" update as the TextBoxes are filled.

Web Forms :: How To Open/close The Panel By One Link Button
I am tring to open the panel with clicking linkbutton and to close the same panel using that link button .How can i write close and open in one event .

Web Forms :: Trying To Build Link Button Dynamically?
I want to build link buttons dynamically, and the link is clicked run a subroutine. that is one half of my problem. Once that linkbutton is created, then i would like to concatenate that with text that i am placing in a text box.

Web Forms :: Link Button Cannot Open Popup On Single Click
i have to open the popup on from the gridview's linkbutton, bnut it open on the double click, not on the single click. LinkButton btn = sender as LinkButton;

Web Forms :: Remove Tag From HTMl Generated By ContentPlaceHolder
I have a master page that has one ContentPlaceHolder. When I add content to it on the content pages, it renders a <p> tag to the browser when viewed. This is messing up the layout for me. Is there a way to prevent ASP.NET from rendering the ContentPlaceHolder with a <p> tag?

Web Forms :: How To Open Javascript Url Link In New Full Size Window
How can I change the follwoing code to open the link in a new full size window, I don't want to navigate there because they want to just view the next page and not leave existing page. lblProcessNum2.Text = "" & myDataTable.Rows(0)(4) & ""

Web Forms :: How To Insert Link In Different Cities Of Country Dynamically
How can i insert link in different cities of country dynamically?

Web Forms :: How To Remove Html Code In A Textbox
i pull out some of the data from sql server 2005 iinto a textbox. but it display the data incluced the html, how to solve this issue?

Web Forms :: Dynamically Change Embed Video Link?
I am trying to dynamically change the url link of an embeded youtube video from the code-behind on our website. Here is the HTML code for the video: [Code].... Basically I need a way to change the video links (in bold above) from the code-behind..

Web Forms :: Getting Name Of Saved File?
When saving a file using file.SaveAs("c:/xx/xx/xx/xx/xx/" & file.FileName) If a file is saved that already exists, is there a way to capture the saved filename?

Web Forms :: Can Get ContentType For File Already Saved On Server
If you upload a file from a webpage, you have the HttpPostedFile object available to you, which has the property .ContentType. However... we have files already uploaded to our server which we need to get the ContentType of. Because these are not HttpPostedFiles I am finding it very difficult to get their ContentType. Is it even possible? This is one of those things you assume will be straightforward and then ends up taking you an hour looking around the framework and Google for some sniff of information...

Web Forms :: How To Retrieve Data Saved In Sql Db Into Checkboxlist
I've used checkboxlist to insert data into the sql database... example... checkboxlist have values 1,2,3,4,5... If is select 1,3 and 5 the values stored in databse will be 1,3,5. Now i want to retrieve those values into similar checkboxlist(1,2,3,4,5), but only 1,3 and 5 saved in db should be selected, 2 and 4 unselected....

Web Forms :: Using Dynamically Link Button Creation And Event Handler
The below shown Tree view are dynamically created link buttons. These link buttons should be created DYNAMICALLY. I tried to create dynamically and its working fine for 1 and 2 case. But I am not able to get 3 case dynamically when i clickon from 2 case. If I click on Products Link Button it'll display all sub products(i.e, computers, mobiles,...) and if I click on computers  and then only it should display all other sub products like Keyboard, Mouse,... lly, if I click on Mobiles and then only it should display all other sub products like Nokia, Samsung  ,... etc.. [code]....

Web Forms :: How To Download The Saved Word Document From Ms Access Database Using C#
In my application, getting the word document from users and i saved that doucment in access database. Data type is OLE Object. I want to know how to retrieve the document from db?

Web Forms :: How To Link .cs(class File) With .aspx.cs File
i have created basic .aspx files .one is login.aspx and registration.aspx...Now in my solution explorer i also added class file i.e StudentInfo.cs and wrote some properties in my question is 1. i want to connect Studentinfo.cs class to my login.aspx.cs...So that i can call the methods in to do it?

Web Forms :: Add Hardcoded Listitems To Dropdownlist Box?
I have the following ddl control within datagrid: <FooterTemplate> <asp:DropDownList id="milestone_add" CssClass="TextBoxes" runat="server"> </asp:DropDownList> </FooterTemplate> How to add list items "yes" , "no"

Web Forms :: Get To Destination Without Clicking Link
I have a site on which members can select from a list of links (from a ListView in profiles.aspx) in order to view details of another site member (in profile_detail.aspx), using this code: profiles.aspx and profiles.aspx.vb: [Code].... [Code].... I would like to do the following tasks but need coaching:From a completely different page (in other words, not from profiles.aspx this time), the user clicks on a photo of a site member; the program picks up the UserID associated with the photo from a database table and saves it to a session variable; completely bypasses the profiles.aspx page; goes directly to profile_detail.aspx and displays the correct person. My problem: I don't how to bypass clicking the link on profiles.aspx.In other words, I want to go directly to profile_detail.aspx and apply the UserID session variable in displaying the person who matches that UserID. You could say that I need to programmatically "click a link" found inprofiles.aspx.

Web Forms :: When Clicking On Link Goes To The Bottom Of Page
I am having trouble with a  aspx page that when I click on the link to go to the page it opens/starts at the bottom. I want the page to open at the top like normal pages do.

Web Forms :: Starts Download When Clicking The Link
i m working on a project with c# i listed the thesis on a table and every these has a edit link ( Ex : edit link = ad_disp_these.aspx?these_id=1 ) and theses are stored on sql Server 2005 db in theses table. what i want is, when i clicked the edit link the these which id is related to the link starts downloading.

Web Forms :: How To Avoid Page Flicker When Clicking On A Link
I have noticed that many new modern websites (and templates like themforest templates) are being built without any page flicker.What I mean by page flicker is that when you click on a link the hole screen flicker and then the new page is retrieved and viewed.Here are some examples of these new sites (templates) that do not have any page flicker. I would like to know to make a website like above. I do realize that it must be ajax or javascript. However what I would like is some code.

Web Forms :: Sending Mail With SMTP Doesn't Work?
I've been quite looking all around for solutions about my problem but it seems nothing I've found actually works at the moment... When my form is validated, I want to send an automatic mail using SMTP. I have tried using both System.Web.Mail and System.Net.Mail :/ MailMessage message = new MailMessage();

Web Forms :: Register TagPrefix As Simple HTML Tag?
I am using my webcontrols widely in application, but I would like to know if it is possible to get rid of usage of <tagprefix:tagname id='' runat='server' /> construction and register control as HTML control instead. For instance: Control MySpecialButton. The usual way to use it is: <uc:MySpecialButton ID='msb1' runat='server' Property1='Custom property1' Property2='Custom property2' /> I would like to change its appearance in HTML as following: <MySpecialButton Property1='Custom property1' Property2='Custom property2'>. Just for it to look like very simple HTML tag.

Web Forms :: Why Simple HTML Select Element Has A Misplaced Focus
This was generated from my page. (ListBox was rendered as select element) I was able to isolate the focus problem from the ListBox to the following HTML. Just copy-paste the HTML bellow and open it in a browser window. The browser renders the Focus in a strange way. I have to solve it for one of our clients. If the Height is set to 185px the focus  doesn't work properly. I tried to play around with different heights. Btw, if the Height is set to 81px there's no problem with the Focus. But I have to have the height at least 170px. [code]...

Web Forms :: How To Restore A WebPartZone After Clicking The Close Arrow Link I followed the above tutorial creating 2 WebPartZones, and 2 web server controls onto the WebPartZones.There is an arrow icon in the top-right corner of the web server control on each WebPartsZone. Clicking on the arrow revealed 2 links: Minimize and Close.I clicked the Close link of the Web server control, a UserControl, on the second WebPartZone.  The WebPartZone2 and User Control then were removed from the web page.   When I opened the web site gain later, I still can not see the User Control and WebPartZone2.How can I restore the WebPartZone2 and User Control?  <ZoneTemplate> <uc1:DDS ID="DDS1" title="DDS Search" runat="server" />  </ZoneTemplate>

Web Forms :: How To Send Out Css HTML Mail
I need to send out css html mail, but not sure if all mail server support css format. Does anyone have experience sending out css emails?

Web Forms :: How To Send A Mail Using HTML Format
I need to send an email of the purchase details. so, I need to send a mail with HTML format. I have tried  and I am receiving only half of the message body. Is there any way to specify the size of the message or any thing wrong with my code. [Code]....

Web Forms :: Send Mail Through A Html Page?
I want to send mail through a html page. My html page contains a form having ur name,phone,address etc... I want this content to be sent to an email id. I used the following code. [Code].... Its working but the way the form content is being sent is not good. sending the mail (form content) in a nice customized way. I cannot use any technology besides pure html.

Dataset Manually Put Into The Viewstate Of A Web UserControl Not Kept After Postback
I've created a Web User Control that is placed on the page at design time. It's purpose is to pop up with a grid of items the user is to choose from. So I've got a gridview on it. And this code in the usercontrol: Public Property DataTable() As Data.DataTable Get If Not IsNothing(ViewState("_SelectGridDataTable")) Then Return ViewState("_SelectGridDataTable") Else Return Nothing End If End Get Set(ByVal value As Data.DataTable) ViewState("_SelectGridDataTable") = value End Set End Property So when the user clicks on a button on the page, I put this in the code on the page: SelectGrid2.DataTable = GetContacts().Tables(0) SelectGrid2.Show() And this works fine. The grid pops up (using jQuery) and the grid is shown. The problem is, that when the user clicks the "OK" button on the UserControl, the ViewState("_SelectGridDataTable") is always nothing. And I don't get it, since it's in the viewstate.. ?!? So does viewstate here not REALLY mean viewstate?

AJAX :: AutoCompleteExtender Is Not Firing The Associated Web Service
When I type into the TextBox that the AutoCompleteExtender is associated with, I get no response whatsoever. Here's the code: TextBox + AutoCompleteExtender (cell is a TableCell object in a TableRow in a etc etc): [Code]....

Switch Function Variable Not Showing?
I've got this switch function that is suppose to get the value of a parameter passed in a query string, and upon it decide the value of the variable: <?php switch($_REQUEST['textcolor']){ case "white": $textcolor = $white; break; [Code].... The $_REQUEST gets it's value from this link: <a href="index2.php?status=Busy&codigo2=<?php echo $codigo2; ?>&textcolor=white"> and this is the form in which I have a hidden element that;s suppose to show the value, but does not: <form> <input type="hidden" value="<?= $textcolor ?>"> </form> why the $textcolor variable is not showing?

JQuery :: Validation - Not Requiered, But If (not Blank || Not Default Value ) {check Condition}?
$('#enquiry').validate({ rules: { Email: { [code]....