Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF ASP.NET


DataGrid Strange Behavior on Dialog  

I've got a ASPX page with a datagrid, with a select button column. When I open that page on a normal window, the select button works fine. When I open that page as a dialog (using showModelessDialog or showModalDialog), the post back of the... Continue Reading
Views : 46
Wednesday 2nd of January 2013

How to do this link  

I am working on my lovely calendar still and want to send the results in a link which opens up another browser window.Here is my code, any suggestions?Sub Date_selected(sender as Object,e as EventArgs)Dim themonth as StringDim... Continue Reading
Views : 76
Wednesday 2nd of January 2013

Allow a page to save a file.  

I'm trying to save a file under the virtual root directory and I can't because IIS displays a message telling me that I -the page- don't have the permissions to do that.Any idea of how to change this? Continue Reading
Views : 66
Wednesday 2nd of January 2013

Working with VS.NET for the first time  

How do you declare name spaces when using code-behindWhen I used my code inline I did thisbut now in the code behind it tells me things... Continue Reading
Views : 72
Wednesday 2nd of January 2013

Forms Authentication does not log me out.  

I have set the Timeout in my Web.config, but after that amount of time I am still logged in. What else do I need to know about logging out after a certain time period? Continue Reading
Views : 157
Wednesday 2nd of January 2013

calendar control question  

I have a page that displays a calendar control.??I need to know what month is currently displayed on the calendar even if no date is selected.??Thus I cannot use:??calendar1.selectedDate.??Any help is greatly... Continue Reading
Views : 74
Wednesday 2nd of January 2013

Cache dependencies  

I have an XmlDocument which I am storing in Cache - and it has a dependency on a file.I am finding my callback method is being called very erratically - it works when I modify the xml myself, but when I save to it after submitting a form, the... Continue Reading
Views : 53
Wednesday 2nd of January 2013

Trouble with my module.  

Well, I did it, I went to Project|Add Item and got me a module file. I put my common code in there and my common strings for database connectivity... and when I go back to my codebehind, I can start typing and autofil picks up that I'm talking about... Continue Reading
Views : 61
Wednesday 2nd of January 2013

Windows Services  

has anyone of you worked with Windows Services so far?I'm thinking about creating one to work sidebytside with an ASP.NET application I have.It would work like a SQL Server Trigger. It will run some stored procedures on the DB every given... Continue Reading
Views : 53
Wednesday 2nd of January 2013

Limit size in upload  

I'm not sure is this is a ASP.NET question or HTML.When I use a 'input type=file' to upload a file, is it suposed to have a limit on the file size? I can't find a single place where that's written, but all files with more than 2.5Mb don't... Continue Reading
Views : 98
Wednesday 2nd of January 2013

Hi all, I have created a menu co  

Hi all,I have created a menu control.(user control in the form of menu).????I have used this link button for listing the menu items. but by default it underlines the linkbutton which????i don't want.????Is there any way to... Continue Reading
Views : 81
Wednesday 2nd of January 2013

datagrid control collection  

Can anyone out there explain the control collection of a datagrid for me.??I had thought that if a textbox was the only control in said column then it would have an id of 0.??However it's in position 1, 0 is holding a literal.??I am a little confused... Continue Reading
Views : 52
Wednesday 2nd of January 2013

format DataGrid columns  

I'm populating a datagrid from our HP using ASP.NET.??I want to change the format from YYYYMMDD to MM/DD/YYYY inside the DataGrid.??How do I do this? Also how do I format amounts inside a DataGrid???($#,###.##) Continue Reading
Views : 95
Wednesday 2nd of January 2013

System.IO.Directory.CreateDirectory problem  

Hi there!I am working on an ASP.NET VB application and I am trying to write an uploaded file to a shared directory on another server.??I want to create a directory for the file on the server first.??I have been using system.io.createdirectory... Continue Reading
Views : 85
Wednesday 2nd of January 2013

Where do I put a variable that is used throughout app  

I have a string variable that contains the root for serveral files throughout my application.??I would like to store the variable once, and be able to call it from any page.??Where is the best(most secure) place to store this variable???I was... Continue Reading
Views : 84
Wednesday 2nd of January 2013

How do i set a cookie in asp.net  

I need a cookie to remember a users login info.??I have been trying this:setting cookie-->dim userID as new HttpCookie("myUserID")userID.value = textbox1.textResponse.Cookies.Add(userID)userID.expires =... Continue Reading
Views : 69
Wednesday 2nd of January 2013

Hi, Is there anyway to set the f  

Hi,Is there anyway to set the format value in property builder of a Datgrid control??I have a datgrid control which is bound to a dataset.For one of the field in the datagrid i want to set the format to be dd/mm/yy.There is a... Continue Reading
Views : 74
Wednesday 2nd of January 2013

Loader  

Hi all, ?Am trying to code some way of telling a a user that the page is searching for data in a database by displaying a message like " Searching..." and once the search is completed , Take the message away and show... Continue Reading
Views : 55
Wednesday 2nd of January 2013

DataGrid Button CSS Assignment  

Hey guys,Quick Question: I want my button column in my datagrid to access the button class in my CSS file. Any thoughts on how to go about that?Thanks,D Continue Reading
Views : 111
Wednesday 2nd of January 2013

web user control in form  

I have a web form which contains a web user control. This control is a login box that accepts username and password and has a submit button to validate input. The web form also has textboxes for user input (eg. Profile details), and it's own submit... Continue Reading
Views : 89
Wednesday 2nd of January 2013

Custom repeaters  

I'm on a limb here..What I want is this:?????????????????[insert datadriven webcontrol... Continue Reading
Views : 53
Wednesday 2nd of January 2013

FTP with HTML interface  

Hey guys,We're doing a file upload area, but we aren't keen on having the web-server deal with the overhead of processing the file (i.e. using the HTTP File Uploader control).Does anyone have any ideas on how we can build an ftp... Continue Reading
Views : 60
Wednesday 2nd of January 2013

Datagrid vs. Datalist for expandable list  

I am about to start a project that will have several thousand records displayed.??When a + sign is clicked, the list will expand to show additional info about the row that was clicked.My question is:??What is the best method to accomplish... Continue Reading
Views : 63
Wednesday 2nd of January 2013

clock server control help!  

I am looking for a digital clock server control which can be added to the.net web application. Its similar to the one in the task bar but this wouldlet the user view the server time.any samples (vb.net) would be... Continue Reading
Views : 74
Wednesday 2nd of January 2013

query string lloss using form authentication  

Hey guys I was wondering if any of you have ran into this or have any brite (like rainbow brite) ideas on how to get around it.The thing is that I am using Forms Authentication to secure certain pages within my project.??However, when the... Continue Reading
Views : 57
Wednesday 2nd of January 2013

No data displayed making a Data Grid on ASP.net  

Hello Everyone!!I'm trying to make a data grid but, after create a data set correctly (I guess), nothing is displayed running the solution.?Someone knows what could happens????????Thank's?????????????Galesi -... Continue Reading
Views : 105
Wednesday 2nd of January 2013

Property Setting Problem  

Hey, I have a property that I want to store the network IP address in.??I Would like to pass in the client's IP addres and truncate off the last ".XXX"I put some formatting statements into the set area of the property but it keeps setting and... Continue Reading
Views : 74
Wednesday 2nd of January 2013

How opening a window from an hyperlink  

Hello,I manage to open a window from an HTML button, but not from an Hyperlink as it has no Onclick event.How can I handle this ?????????????????function... Continue Reading
Views : 76
Wednesday 2nd of January 2013

encryption  

Is there any good resources on creating scripts for 128 bit encryption in .NET? Continue Reading
Views : 58
Wednesday 2nd of January 2013

Highlighting the Contents of a textbox control  

Does anyone know how to Highlight the entire contents of a textbox control?Thanks in advance,NatGreen Continue Reading
Views : 130
Wednesday 2nd of January 2013