all groups > asp.net > june 2005 > threads for tuesday june 7
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
How to Upload Large file in Chunks of Bytes ?
Posted by Nawaz Ijaz at 6/7/2005 11:07:29 PM
Hi All,
Just need to know that how can it be possible to upload large file in
chunks of bytes. Suppose i have a large file (100 MB) and i want to
upload it in chunks (say 20 KB). How can this be done as "Simple html
File Upload Control" upload file in one go. That i not want really, I
want to u... more >>
Controlling the html
Posted by Andy Sutorius via DotNetMonster.com at 6/7/2005 10:33:34 PM
Hi,
The datagrid auto generates html for everything in the grid, including
controls. Can you manipulate the html the grid outputs? Can you make this
auto generated name for a text box, dgdANSI835:_ctl2:type, into this
manipulated name for the text box, type_119789 (where 119789 represents a
u... more >>
IE Problem - 2 Questions
Posted by Microsoft at 6/7/2005 10:24:14 PM
Are there any drawback to using Mozilla on a full ASP.NET Site, form
Authentication and all?
I am having an issue displaying PNG Files to IE. Everything is perfect in
Mozilla. I know this may be an IE questions, but maybe someone has run into
it?
TIA,
Steve
... more >>
Single vs multiple IIS application roots
Posted by Carl Johansen at 6/7/2005 9:51:52 PM
I have a big ASP website (used by several thousand car dealers) that is a
collection of lots of small and medium-sized applications. Now I want to
start adding ASP.NET applications to it. I have read Q307467 (How To Create
an ASP.NET Application from Multiple Projects for Team Development) a... more >>
what is TripleDes algorithm DES-EDE3/ECB/NONE
Posted by chuayl at 6/7/2005 9:19:02 PM
im a newbie in this encrypt/decryption standard.
Can i know what is "DES-EDE3/ECB/NONE" algorithm ?
Do we have to set the Vector for this ?
what if we do not have a vector for this ?
... more >>
ASP.NET memory problem
Posted by Anders K. Jacobsen [DK] at 6/7/2005 8:29:59 PM
Hi,
We are running a intranet application (.net 1.1 asp.net) on a windows 2003
server. We are having some issues that causes extreem slowdowns (like 1 min
to show one page)
This happens usally when the (W3P..something) process reaches aprox 300 MB.
The server has 515 mb ram (2.4 Ghz) and... more >>
About Application_Error
Posted by Kenny M. at 6/7/2005 8:03:03 PM
Hi
I have this in my code:
<customErrors mode="On" defaultRedirect="ErrorPage.aspx" />
When an error happens the page is shown, good!
But now I want to add code to the Application_Error event (cause I want to
send a mail) when I do this my error page is not shown instead a blank pa... more >>
Printing documents
Posted by Eitan M at 6/7/2005 7:53:09 PM
Hello,
How can I print document ?
Is there any tool for that in vs .NET 2003 ?
Thanks :)
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Check Enable Cookies
Posted by wrytat at 6/7/2005 5:45:30 PM
How do you check in the vb codes whether the user has enabled the option to
accept cookies in his web browser?
Thank you in advance.... more >>
Calendar
Posted by Paperback Writer at 6/7/2005 5:42:09 PM
Hi, i have a calendar but i just can display the days of the current month,
i can not display the days that came from the next and from the previous
month...the porpety OtherMonthStyle does not help me!!!!
Does someone know ?
--
Please, check my theSpoke:
http://www.thespoke.net/MyBlog/... more >>
Top left coner of html control
Posted by Shimon Sim at 6/7/2005 5:09:33 PM
Is it possible to find top left corner of a control using JavaScript?
As far as I know it is very easy to do if you use Grid layout while
designing a page. But if you are using flow layout I didn't find any method
to find top left corner of a control.
I see drop down calendars that drop righ... more >>
Array Dimension
Posted by Shapper at 6/7/2005 5:06:03 PM
Hi,
I have declared an array as follows:
Dim MyArray As Integer = {1, 2, 3}
How can I get the dimension of the array so I can use it in a Select
Case?
Thanks,
Miguel
... more >>
Client side code for two checkboxlists
Posted by Sandy at 6/7/2005 5:00:51 PM
Hello -
I have two checkboxlists, A and B. A has Item1, Item2, Item3, Item4 . .
..Item10.
If Item 4 is checked (other Items can be checked also, or no other items),
then I want checkboxlist B to show; otherwise, it is hidden.
Any help will be immensely appreciated!
--
Sandy... more >>
What's directories prefixed "_vti"?
Posted by Quentin Huo at 6/7/2005 4:47:43 PM
Hi:
I found there are several directories in the physical directories of the vir
dir, such as "_vti_pvt", "_vti_log", "_vti_script",..... What are the
direcories for? Can I delete them?
Thanks
Q.
... more >>
Spawning a process with ASP.NET 2.0 beta 2
Posted by Marianne at 6/7/2005 4:25:23 PM
Had 1.1 configured so that a process I was launching on a web server would
have access to a domain controller in a different domain. This was
accomplished by setting the <processModel> tag in machine.config to use the
ASPNET account with a specified password. Then on the DC created an
iden... more >>
SSL and asp:menu control
Posted by Uriah at 6/7/2005 3:31:02 PM
I have a sort of critical problem that is driving users nuts. My site works
fine when running over HTTP but when I switch to HTTPS, an error is generated
every time a user mouses over one of the drop down menus. The error is 'This
page contains both secure and nonsecure items. Do you want t... more >>
CSS + DataGrid
Posted by Paperback Writer at 6/7/2005 2:50:24 PM
Hi, I need to apply a CSS in my select column of my DataGrid...Is there a
way ?
<asp:ButtonColumn Text="Selecionar" CommandName="Select"></asp:ButtonColumn>
There's no any CssClass property and i need to apply only in this column!
Thanks in advance
--
Please, check my theSpoke:
http... more >>
Session Variables work from Page1 to Page2 / lost from Page2 to Page3
Posted by P. Prosper at 6/7/2005 2:39:53 PM
Hello all
I have a small webform application with three WebForms that use session
variables to maintain session data (user name)
When I transfer to page 2 from page1 session state is transferred OK, but is
lost when I use a command button to transfer from page2 to page3.
It seem to have... more >>
Databind of large SqlDataReader to dropdown hangs when firewall enabled
Posted by yanky at 6/7/2005 2:38:03 PM
I have several dropdowns that I call a function and return a
SqlDataReader and then databind() to that dropdown. There is a large
one(37,000) that is causes my firewall software to just hang. If I
disable my firewall, the dropdown does get filled with the 37,000+
records?!?!? I have been work... more >>
HttpWebRequest C# to VB equiv.
Posted by mplutodh1 at 6/7/2005 2:17:45 PM
I am not up with all the C# as I usually use VB, could someone explain
to me how I would accomplish this in VB? Thanks!
http://www.netomatix.com/HttpPostData.aspx
private void OnPostInfoClick(object sender, System.EventArgs e)
{
string strId = UserId_TextBox.Text;
string strName = Name... more >>
retrieving 'shown' month from calendar control
Posted by tfsmag at 6/7/2005 2:12:24 PM
Okay, i have a datagrid that I want to populate with invoices that are
due on the month shown on the calendar, so what i need to do is
retrieve the current 'shown' month and create a couple of variables
that allows me to set the beginning date and end date of my range for
the query. This means w... more >>
Using Frames with ASPX pages
Posted by Greg Smith at 6/7/2005 1:38:20 PM
I am trying to create a FrontPage web site that uses aspx pages I created
with VS.
I am having fits trying to aspx pages to appear in a frame. Am I trying to
do the impossible or am I just stupid?
Any help is greatly appreciated.
... more >>
z-index automatically set by Visual Studio
Posted by Mike at 6/7/2005 1:27:26 PM
I would like to know if it is possible to stop VS from automatically
assigning a z-index to a drop down list when I add it to my web page in
design mode. Or if that is not possible, how can I tell VS to not
change a z-index that I have already modified.
Here is the situation I am running into... more >>
byte[]s, images and bitmaps with ASP.NET
Posted by mjcast at 6/7/2005 1:05:11 PM
I am working on a solution to store jpeg images in our sql server. I am able
to retrieve the byte array from the database, I can make it into a bitmap but
I cannot figure out how to put the bitmap within a control for rendering on a
webpage. The image control requres a url to render an image, ... more >>
2.0 FilterParameters bug
Posted by Random at 6/7/2005 12:47:23 PM
In ASP.NET 2.0, it seems there's a bug with the parameters collections, as
applied to at least the ObjectDataSource control. I can't get both an
asp:QueryStringParameter and an asp:ControlParameter to work side by side in
the FilterParameters. The presence of the ControlParameter makes the p... more >>
Request.ServerVariables("AUTH_USER")??
Posted by Jim in Arizona at 6/7/2005 12:20:59 PM
I'm new to aspnet with only limited experience with classic asp. Since
I'm on a domain and all users are authenticated. In the past using
classic asp I used request.servervariables("auth_user") to grab the
domain logon name of the user. Is there a better way or more detailed
way in aspnet? L... more >>
Cannot add reference
Posted by BillGatesFan at 6/7/2005 11:53:48 AM
Click add reference
Click .NET dll to add
Click Select
Click OK
Reference never shows up in the treeview.
What is wrong?
... more >>
cannot access System.Web.HttpContext.Current.Session
Posted by goelajay NO[at]SPAM hotmail.com at 6/7/2005 11:23:59 AM
I have a web service where I am using
System.Web.HttpContext.Current.Session. If I post an xmlrequest using
an aspx page, I can referrence the Session value, but If I am posting
it from say a vbs file, I cannot see the Session. What am I missing?
The class which has has this code has a referen... more >>
Force a postback for a page from a different frame
Posted by Jeronimo Bertran at 6/7/2005 10:46:13 AM
I have a DataGrid that gets filled based on a filter which is defined by
the values that the user selects on several controls. When the page
postbacks after changing the selection on the filter controls, the DataGrid
refreshes itslef. Now, I also need to refresh the DataGrid if I detect
th... more >>
How to make a Calendar-like User Control NOT transparent
Posted by Nad at 6/7/2005 10:26:06 AM
Hello,
I have a user control that has a button and a Calendar. Once you click on
the button I display the calendar.
Now when I move this user control to a web form, once I click on this button
the Calendar displays but it's transparent so other controls like labels on
the web form which ... more >>
private vs protected declaration of User Controls
Posted by Nad at 6/7/2005 9:50:01 AM
Hello,
When I add a User Control to a web form and then try to declare it in the
code as a private member it doesn't get instantiated. However with
'protected' it's OK!
For example I get a runtime error on the line indicated in
InitializeComponent() because the user control is null. Howe... more >>
Dynamic control array loading, can't unload control/replace with o
Posted by cindy at 6/7/2005 9:47:27 AM
I have a web form with 3 links, depending on which link is clicked a user
control loads, page1.ascx,page2.ascx,page3.ascx
page1.ascx does a search, uses 3 asp:dropdownlists with viewstate true and
auto post back. It loads by default first time.
User clicks on link 2, page2.ascx loads afte... more >>
DataGrid Text???
Posted by Tim::.. at 6/7/2005 7:59:01 AM
Can someone please tell me why I don't get any visible text in my datagrid
and yet the DataNavigateURLField and DataNavigateURLFormatString return
values???
I want the Text to contain the same as the the DataNavigateURLFormatString...
Can someone please help!
<asp:HyperLinkColumn Header... more >>
Session Timeout Application End
Posted by b.Wurm at 6/7/2005 7:52:10 AM
Hello!
I have got the following problem:
I have some algorithmn which can take a lot of time!
And the problem is the algorithmn has to finish when it is started.
- without stopping the application
- without stopping the session
- without scripttimeout
It is different, if the algorithmn ta... more >>
Error creating big Word docs in asp.net
Posted by Meken at 6/7/2005 7:12:08 AM
Hello!
I have developed a function which create a word doc. It works fine for
smaller amount of text but when I want to create larger documents something
goes wrong!
The application stops at this line:
oWordDoc.SaveAs(ref fileName, ref missing, ref missing, ref missing, ref
missing, re... more >>
effecient template system
Posted by DKode at 6/7/2005 6:47:19 AM
Hello,
I have created a website that uses a combonation of a content
management system and static html pages.
The CMS is built with asp.net, and now I am trying to determine the
best way to pull in the html content into my asp.net site. So far what
I have done is when someone requests a spe... more >>
Datagrid onclick change cell backcolor
Posted by Franck at 6/7/2005 5:08:04 AM
Hi,
is it possible to change datagrid cell backcolor when user click on it
?
Thks for help.
... more >>
trying to show images in the grid
Posted by androoo at 6/7/2005 4:27:44 AM
Hi
I am learing how to use the grid in asp.net.
Im trying to replace the button columns with nice friendly images.
So :
<asp:ButtonColumn Text=3D"Delete"
CommandName=3D"Delete"></asp:But=ADtonColumn>
would become :
<asp:TemplateColumn>
<ItemTemplate>
<asp... more >>
ASP.NET image - remove border attribute (c#)
Posted by kevanbulmer NO[at]SPAM gmail.com at 6/7/2005 4:13:59 AM
c#
by default the 'border' attribute is added to an asp.net image, how do
i remove this attribute, as i cant validate my page as xhtml 1.1
thanks
kb
... more >>
dropdowncontrol problem
Posted by fredda054 NO[at]SPAM hotmail.com at 6/7/2005 2:57:11 AM
Hi everybody !
I have a little anoying problem with a drop down list in a web app.
the problem is:
I populate a dropdownlist, (ddlCountry), with a dataset containing data
from a db table, (countryID and countryName). to avoid the problem with
having the first item always selected i added a "d... more >>
datalist, js function, printing - is innerhtml ignoring <div class="x"> read from SQL db
Posted by yer darn tootin at 6/7/2005 1:57:18 AM
Here's the scenario: I have a javascript function taking the contents
of a datalist ( content from a SQL db ) and opening it in a new window
to allow the user to print. The pop-up window successfully applies the
formatting from the datalist ( ie the dl's <ItemStyle> properties ),
but ignores any... more >>
Get Previous URL
Posted by Tim::.. at 6/7/2005 12:51:01 AM
Can someone please tell me how I get the value of the previous pages URL???
I want to write an IF statement something like this...
IF PREVIOUS URL = "http:www.somepage.com" THEN
' Do something
ELSE
' Do something else
END IF
Thanks for any advice!!!... more >>
HttpContext.Current.Session - should i or shouldn't i
Posted by Calvin KD at 6/7/2005 12:34:01 AM
Hi everyone,
I'm in the process of converting all our apps Session variables
(Session("something") = "something else"). I have a few values which I'd like
to store in memory (per session). These values may or may not be frequently
changed during the course of the session. Because of the possi... more >>
HELP??? DataGrid
Posted by Tim::.. at 6/7/2005 12:27:02 AM
Hi...
Can someone please tell me how I get the following values from the datatable
below into a datagrid??? I want to use template columns so I can minipulate
the data but don't know how to get the values into the templated columns...
I tried...
Container.DataItem, "givenName"
but ge... more >>
How to get the url where I came from?
Posted by Henke at 6/7/2005 12:07:11 AM
Hi I have added a image button on a web page that is used for navigating back
to the page I come from. I'm "jumping" between pages using Server.Transfer.
Where can I find the address for the page I was coming from?
Thanks in advance!
/Henke
... more >>
Checking relative url
Posted by ledder77 NO[at]SPAM hotmail.com at 6/7/2005 12:04:09 AM
Hi,
I need to find a way to check if a relative url exists on the server. I
cannot use WebRequest.Create method because it needs a complete URI.
Any suggestion?
Thanks in advance
Francesco
... more >>
Page Expired Warning
Posted by Jordan at 6/7/2005 12:00:00 AM
I would like users to see the standard "page expired" warning when they
click the Back button.
I've searched on web, but haven't been able to find a solution for this.
Any suggestions?
Thanks!
... more >>
How to new added column in the fist column
Posted by ad at 6/7/2005 12:00:00 AM
I added column to a DataTable, I want the column to be display in the first
place of a dataGrid.
The Column in dataGird is auto-generate.
How can I do that?
... more >>
How to determine if a Session Variable exists?
Posted by Shapper at 6/7/2005 12:00:00 AM
Hello,
How to determine if a Session Variable exists?
In Page_Load I need to check is Session("MyVar") Exists.
If it doesn't exist then I created it and give it a value:
Session("myVar") = "Value"
Thanks,
Miguel
... more >>
HTML to PDF
Posted by Steve at 6/7/2005 12:00:00 AM
Hey Guys,
Just wondering where to start. I have a page with some HTML in a user
control that I'd like to convert to a PDF document. Does anyone know of
some good freeware component or a good place to get started online with some
tutorials. I've done some searching but can only dig up exp... more >>
Httphandler redirection to document -- GetCompiledPageInstance
Posted by Martin at 6/7/2005 12:00:00 AM
Hi,
I have a number of documents stored on my web server and these documents
should not be servered to anybody unless the user is both authenticated and
authorized.
This authentication and authorization comes from a custom database.
To stop users simply requesting the documents directly I h... more >>
I want to open a pdf file in Rich TextBox ...
Posted by Alex Smith at 6/7/2005 12:00:00 AM
Hi Friends,
I have trying to open a PDF file in richtextbox, a .txt file open
successfully but a .pdf file open with unreadable form.
I have trying with
OpenFileDialog fileopen = new OpenFileDialog();
PdfLib.PdfClass newpdf = new PdfLib.PdfClass();
void Browse_Click(object sender, ... more >>
zip / unzip uploaded files seamlessly
Posted by bradley at 6/7/2005 12:00:00 AM
I am developing a website which allows a user to upload documents (MS Word,
PDF, etc) to a folder located beneath the website root. This works fine.
However, for storage space and security reasons, I would like to have the
process compress the file with encryption prior to writing it to the folde... more >>
Problem with Insert statement...
Posted by Paul Mason at 6/7/2005 12:00:00 AM
Hi folks,
The ado.net stream appears to be not working so I'm here.
The following function generates the error "Operation must use an updateable
query". There is no identifiable or meaningful error code.
This system is using OLEDB to connect to an Access database. I've tried
applyin... more >>
Storing Enums in web.config
Posted by Matt at 6/7/2005 12:00:00 AM
I have a module I have written that I'd like to use in a number of projets.
To save the various users having to tweak the code and recompile it, I'd
like to store all the parameters in the web.config.
This works fine apart from a series of eNums I have created.
When I try to assign myEnum = Sy... more >>
Project in modules
Posted by Marre at 6/7/2005 12:00:00 AM
Hi all!
I´m using c# and asp.net to do an application.
I want to do this application in modules. A customer should be able to buy
the modules he/she are intrested of.
What are the right way to here? Should I create the different modules in
different projects, or should I just hide the mod... more >>
Xpath trouble
Posted by Shawn at 6/7/2005 12:00:00 AM
Hi,
I'm looping through an XmlNodeList and the second XmlNode in the list
contains this OuterXml:
<element><name>plant</name><value>100</value></element>
Next I have this XPath (inside the loop):
myXmlNode = myXmlNodeLoop.SelectSingleNode("name[plant]")
This returns Nothing. If I try it like ... more >>
Examples in Visual studio (help!)
Posted by Lock at 6/7/2005 12:00:00 AM
Hi sorry for the stupid question.
I'm very new to asp.net and I still have to understand how it works.
How to import examples in VS? I mean, I download a folder fith 5-6 files but
I don't know how to make it run. Can you help me?
Thanks.
... more >>
Schedule Application Approach
Posted by Wayne Carlaw at 6/7/2005 12:00:00 AM
We'd like to begin coding a schedule application, much like Outlook and
wanted some opinions on what the best approach to this project would be.
Does anyone have any experience pulling appointments from a datasource and
filing out an hourly schedule? How do you deal with the empty hours if
y... more >>
Some problem with HttpModule
Posted by Hardy Wang at 6/7/2005 12:00:00 AM
Hi all,
I built a HttpModule for one of my ASP.NET application to handle some
special file format (*.DEC1, *. DEC2). My code is like below
public class MyClass : IHttpModule {
public MyClass() {
}
public bool IsReusable {
get { return false; }
}
private HttpApplicatio... more >>
Instantiate UserControl without LoadControl
Posted by Matteo Migliore at 6/7/2005 12:00:00 AM
Hi.
This is a question about ASP.NET 2.0.
How can I instantiate a UserControl without
the method LoadControl?
I need to create a usercontrol from
a .ascx file that is out of the web application,
it's placed into a virtual directory.
Thanks!
Matteo Migliore.
... more >>
Form based security using frames
Posted by dudu at 6/7/2005 12:00:00 AM
I have this little problem
My web application uses frames with a header frame, a bottom
frame and a main frame. I have set up my web.config file
to the following
<authentication mode="Forms">
<forms name=".ASPXAUTH" loginUrl="login.aspx" timeout="120"/>
</authentication>
... more >>
Time out issue to connect to Sql server
Posted by Dale at 6/7/2005 12:00:00 AM
Hi,
I encountered this error when I debug my asp.net web application.
What might be the reason? How can I resolve this? Thanks!
Server Error in '/ETS' Application.
----------------------------------------------------------------------------
----
Timeout expired. The timeout period elapsed ... more >>
Restarting IIS after installation of a new Webapplication
Posted by Balaram Barange at 6/7/2005 12:00:00 AM
Hi All,
Can somebody tell me is it really required to restart IIS after installing a
new Web Application
--
Thanks and Regards
Balaram Barange
... more >>
Get Value From Dynamically Created TextBoxes......
Posted by RC at 6/7/2005 12:00:00 AM
Hi,
I 've created a form with serveral Dynamically Created TextBoxes and a
static button. After press the button, those values of TextBoxes should be
posted back to server. How to get the value back from those boxes? Any
Sample Code Provided?
Thanks
RC
... more >>
|