calling javascript in vb.net
Hi, I am calling a javascript in the onclick event in ASP.NET sourcecode, as follows: onclick='open popuplistitems("ct100$contentplaceholder..........") Can you tell me how to do the same in vb.net ? ...
Hi, I am calling a javascript in the onclick event in ASP.NET sourcecode, as follows: onclick='open popuplistitems("ct100$contentplaceholder..........") Can you tell me how to do the same in vb.net ? ...
I have a radio button list and some of the labels are quite long so they wrap and the second line appears underneath the radio button. Ideally I would like the text to wrap with the second line starting beneath the first character of the first line. Any ideas on how? or would I have to make my own list based control for this? ...
Hello Just looking for clarification on the above topics. There are a number of domains with their own AD The domain where my ASP.NET application is running hosts the ADFS server (the root domain) there are TRUSTs established between each domain and the root domain Then there shouldn't be a problem? I don't use Forms authentication...
in an sql table there's an id, first name and last name field. i'd like to concatenate the first and the last name fields and display it as one in a dropdown control. this is the vb.net code: con() sqry = "[SELECT QUERY]" sqcom = New SqlCommand(sqry, sqcon) da.SelectCommand = sqcom ds.Clear() da.Fill(ds) ddl_a...
I'm using the new routing functionality in ASP.NET 3.5 to act as my catch-all for page requests to my website. I've registered my route as follows within the global.asax, <%@ Application Language="C#" %> <%@ Import Namespace="System.Web.Routing" %> <script runat="server"> void Application_Start(object sender, EventArgs e) { ...
I am populating a textbox (txtFileNature) with a value from a popup window. The textbox has an onfocus handler set to onfocus=("this.blur();") The problem is that I want to do some calculations based on the value of txtFileNature and want to display the result below it. In which event can I can use my VB code. I can't use the textcha...
I have two controls on a page, one is a search entry and submission control the other is the search results control, they have to be separated due to the layout of the site. Im looking at different ways of having the search control submit displaying the search results in the results control, initially im not bother about postbacks, im mo...
I'm building something similar to a price comparison site. This will be developed in ASP.NET/WebForms/C#/.NET 3.5. The site will be used by the public, so I have no control over the client side - and the application isn't so central to their lives that they'll go out of their way to make it work. I want to have a table/grid that display...
Hi Everyone. Hope you're having a good Friday and stuff... okay, so here's my question: All my ASPX pages inherit from a base class called BasePage. BasePage inherits from: System.Web.UI.Page Now, how do I access/set a control in my aspx page from my page base? I've tried this: HyperLink hypMainMenu = (HyperLink)Page.FindControl("...
Is there another Timer object that can be used in Silverlight except for the System.Threading.Timer object? ...
My system uses a custom security and data model for users and roles. However I was wondering if I implemented this using the provider model whether I could hook this up to the asp.net website administration tool. I'm also sceptical as to whether, the asp.net website administration tool is of any real world use or if it's just a gimmock...
XElement root = XElement.Load(xmlReader); IEnumerable<XElment> items = root.Elements("?????????"); Where the ???? is, can I add a path or it has to be a single xml element name? ie. can I do /blah/blah2/asdf ? ...
I am retrieving a list of files from a web service and displaying them as links. When someone clicks on the link, the file should start downloading. The problem is that no direct access to the file exists. Here is the process to download a file: User clicks on link Server calls web service to retrieve file Browser is loading for as lon...
I have been tasked with getting a asp.net (vb.net) talking to an analysis services engine on our production servers. The web server is a separate machine from the web server. The web server runs as the IUSR_ user. The application (of course) works on the development machine which has both IIS and Analysis services on it. The problem I se...
Is there a limit on how many object a list can hold? ...
My XML is like: <root> <section name="blah"> <item name="asdf">2222</item> </section> </root> I will have multiple 'sections' in the XML, I want to fetch a particular section. In this case, I need to get items that are in the section named "blah". ...
Been pulling my hair out and doing a bit of looking on the web to try and figure out an elegant solution to my issue. I have a ProductImages.aspx page. It shows all of the images associated with that product in a dynamically created list. Events are wired up to each picture to allow you to update it. This works fine. However, I have ...
Hi, I'm using GetGlobalResourceObject to localise the language on a website after setting CurrentUICulture depending on each users settings. I am also creating an email using text retrieved via GetGlobalResourceObject which is sent to another user. Is it possible to select the language file used by GetGlobalResourceObject so that the ...
I have designed a custom user control, basically a button, that implements the IPostBackEventHandler interface, and obviously defines the RaisePostBackEvent(string eventArgument) method, where I do some processing, basically I trigger other events. By default, when clicked my control will execute __doPostBack its client id for a full p...
Hi I'm building a dynamic button view, which adds buttons programmatically depending on the amount of items in the database. Like a simple workflow engine. On the first page call the event handler works like expected. The new page with the new item is builded and returned to the client. On the second postback the event handler is NOT ca...