I have an intranet web project that is currently using the IEWC tabstrip and multipage controls.
Since these are very out of date, and cause lots of issues when trying to support multiple browsers, I am trying to find a good way to replace these controls, preferably without and drastic changes to the site's design or usability. One method I am considering is using jquery UI tabs, which looks like it might work in a similar fashion.
One of the issues I am running into is that the site was originally designed with the expectation that the controls on every tab would be included in the page for every request. This could be changed, but as this is a side project, I'm hoping to find a way to work around this.
I have an existing .NET 1.1 dll that I do not have the source code for. It contains the code-behind for a asp.net page containing various form controls including a third party text editor that I no longer want to use. I want to replace the text editor with a simple asp:Textbox but the existing textbox is baked into the old assembly. How can I override / extend the existing page to use a textbox instead of the old text editor control?
I have this working except for one thing. After the user has voted I want to replace the submit with "Thank you" text.
In the aspx page I have a label that is not visible, with the text = "NotVoted". This label is not in the listview. In the listview I have a label that is not visible and a button that is. The rating control is called vidRating. In the vidRating_Changed event I have
lblVoteStatus.Text = "Voted" ListView1.DataBind() In the ListView1_ItemDataBound event I have Dim lblVoted As Label = CType(e.Item.FindControl("lblVoted"), Label) Dim btnSubmit As Button = CType(e.Item.FindControl("btnSubmit"), Button) If lblVoteStatus.Text = "Voted" Then btnSubmit.Text = "Thank you" btnSubmit.Visible = False lblVoted.Visible = True End If
When I run this in debug mode, if the user has voted, ListView1.DataBind() is run, lblVoteStatus.text = "Voted", and the code in the IF statement is run. I get no errors, but the page doesn't change. I still see the button and I don't see the label text. If I comment out the if /end if statements, the page opens displaying the label text, not the submit button. So the controls are being found ok. What am I doing wrong? How can I disable or remove the submit button after the user votes?
I have a web page containing a multipage and 3 pageviews filled with controls... linked to VB server side code.All I want to do, and I imagine it's pretty simple intuitively, is to grab all the controls from one of the 3 pageviews and add it to the multipage.
Now I have 4 pageviews. The 4th one being a copy of either pageview 1, 2 or 3.I looked everywhere and I understand I need to deep copy the PageView and stick it to the Multipage, as I already do for a blank PageView, but I am missing the rest.
In index.aspx I have 1TextBox and 1Button when user enter their behcode in TB and click on Button it go to store.aspx page and fill this page with that user information
Now I want when user enter their behcode in index.aspx and according to that behcode go to store.aspx and see their page when they click one of 2 button in store.aspx they go to article or about us page and in that page again fill with them information from user’s table according to behcode that they entered in index.aspx page.
I have a table right now with just customer_id and customer_name and I want to add an image field to upload their logo.
I've searched and found articles on how to create a table and to upload an image for a new row but how do I update or add a picture to an existing row.
So if I browse through my table and found a customer without a logo or an outdated logo, how do I replace and update their logo?
I want to search a gridview....For eg: If the gridview has three columns col1,col2 and col3 and it contains 3 rows of values(a,b,c,.....), I want to search a particular column for a particular value..For eg: If col1 contains value 'a', I want to replace 'a' with another value 'a1'..
I have a series of dropdownlists on webform in ASP 4.0. The first drop down is filled upon load, and then when a user selects a value from that list, it populates the second dropdown. To accomplish this, I have a SQLdatasource with a parametersource of the first drop-down list control. This works great, except when a user changes their selection from the first drop down. It performs the query, but then adds the list of items to the ones that were already there from the previous selection, instead of replacing it with the new data. Here is the code:
[Code]....
Do I need to do something on selectedindexchanged to somehow "clear out" the previous datasource? I can't find anything about this online, although one person seemed to suggest it was related to using a master page. (which I am using).
I am collecting information and sending an email confirmation on form-submit. I want to find any instances of SSNs in the body of the email and replace the beginning digits with "X". I'm trying to use a regex to find/replace:
My website currently uses frames. My index.html homepage looks something like this:
[Code]....
Well, apparently frames are way outdated, "element frameset is not supported" in XHTML Transitional 1.0 and "newer constructs are recommended." So, what do I do instead?
I am still learning and improving myself in ASP.NET MVC.I have partial view with following lines to get a input from users for Category field. It is working absolutely fine.
does anyone know if its possible to replace the updatepanel in asp.net ajax toolkit with some kind of jquery?
Basically we use the update panel so that when we do postbacks that the screen doesn't actually do a full refresh .. just the values ..
I am using jquery for a lot of other stuff and would love to know if there is some way to do this or even if a jquery plugin exists that lets you do it.
I am a bit unsure but would this mean i have to rename all my methods to static and decorate with the webmethod attribute?
If this is the case, it maybe a lot of work :-)
And of course how would Page_Load execute if it was a static webmethod?
I have a System.Web.UI.WebControls.Xml control (Xml1) in a webforms app that I have upgraded from .NET 2.0 to .NET 4.0
I am getting two warnings from the code-behind page that I'd like to do something about.
[code]....
'Public Property Document As System.Xml.XmlDocument' is obsolete: 'The recommended alternative is the XPathNavigator property. Create a System.Xml.XPath.XPathDocument and call CreateNavigator() to create an XPathNavigator.
I am reading names from a file, some of them have special spanish characters like this: ñ
My end goal is to replace the special characters, however when I read the names into a string and then put a breakpoint and run my program in debug to see what I'm reading in my watch window shows a square in place of the special characters as if it's having problems reading the special characters.
EX:Muñoz from the file
is displayed
Mu�oz in my vb.net string
what I need to do so that my vb.net code and correctly read the special characters?
Is it possible to replace the sitemap section of web.config using the replacement functionality of Web Deployment Projects? I have tried doing this in every configuration I can think of and I get a WDP00002 missing section error every time.Web.config file section replacement command: system.web/sitemap=sitemap.configBoth .config files are in the root of the project and no matter how I set up the sitemap.config file I still get this error.