all groups > asp.net > recent posts
RE: System.IO.IOException: The filename, directory name, or volume label syntax is incorrect.
Posted by prabakar at 5/7/2008 6:02:59 AM
Can you reple me the soltuion?
From http://www.developmentnow.com/g/8_2004_7_0_0_183209/System-IO-IOException-The-filename-directory-name-or-volume-label-syntax-is-incorrect-.htm
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com... more >>
RE: set the width of dataGrid column
Posted by Sarah at 5/6/2008 9:09:38 PM
this DataGrid1.TableStyles(0).GridColumnStyles(2).width = 150
can use in vb.net??? i'm trying but i can't. please help me.
From http://www.developmentnow.com/g/8_2005_3_0_0_190539/set-the-width-of-dataGrid-column.ht
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com... more >>
Need help with writing a file to a Network path (UPN)
Posted by pxpilot at 4/24/2008 5:41:55 PM
HELP!
I know there's a lot of urls out there, please don't reply with a
link.
I have tried them all but i guess i am missing something.
I have 2 servers on the same network, my ASP.NET runs on Server1 and
need to write RSS to a Server2
Something like this:
Dim enc As Encoding = Encoding.UTF... more >>
Re: ASP.Net 3.5 - Retrieving List of Local Printers on Client Machine ?
Posted by Luqman at 4/24/2008 5:22:26 PM
Hi,
I want this facility for my Intranet Application, running in my Office, so
that user can print the Crystal Report through ASP.Net, directly to his
local default printer.
Currently they can do so, by installing Crystal Printing Control (a thin
client activex) which shows their local p... more >>
Re: inserting date created with new record
Posted by Jeff Dillon at 4/24/2008 4:57:38 PM
How about GetDate()
Transact-SQL
But I would recommend against direct sql inserts like that. Look up "SQL
Injection"
Jeff
<dean.h.brown@gmail.com> wrote in message
news:cb8d3724-bfe3-4934-9b23-79d012f37f85@27g2000hsf.googlegroups.com...
> I'm trying to set the date created when I ad... more >>
Re: usign Skype from .NET
Posted by George Ter-Saakov at 4/24/2008 4:48:57 PM
I asked if it's doable or not before I start to research how to do it.
I kind of hoped to see an answers like "Yes, this type of application is
doable with Skype" (or some other service)
I would obviously have to dig in to their documentation
https://developer.skype.com/ once I start programmi... more >>
setting properties on child controls of Custom web user controls
Posted by Andy B at 4/24/2008 4:38:59 PM
I am creating a custom web user control that is a complex page view. I want
to use it as the confirm step of a wizard control. Inside the custom user
control, there will be different label controls that will display the text
of different things. What do I need to do in order to access the text... more >>
RE: setting properties on child controls of Custom web user controls
Posted by Milosz Skalecki [MCAD] at 4/24/2008 4:38:00 PM
Hi Andy,
I would go for exposing text property of the child controls(labels):
public string HeaderText
{
get
{
return lblHeader.Text;
}
set
{
lblHeader.Text = value
}
}
simply because only "text" on the label is being changed. If you had to set
many prope... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Re: Better Alternative than Application State?
Posted by Milosz Skalecki [MCAD] at 4/24/2008 4:27:01 PM
Hi George,
Hi George,
With all respect, i must say you're talking rubbish. I have used "static"
approach in .NET many times without any problems, I also come from C++ world
but things look different in .NET, let me start from the beginning. .NET
static constructor is used to initialize s... more >>
Re: Master Page Properties persist?
Posted by clintonG at 4/24/2008 4:18:43 PM
// Reference properties from a previous page.
cross-page postback overview site:msdn2.microsoft.com
"Seth Williams" <sm@here.com> wrote in message
news:%234lcetipIHA.1236@TK2MSFTNGP02.phx.gbl...
> It seems like each page load fires the page load event (non-postback) of
> the Master Page... more >>
ASP.Net 3.5 - Retrieving List of Local Printers on Client Machine ?
Posted by Luqman at 4/24/2008 4:08:15 PM
I am using Visual studio 2008 and ASP.Net 3.5
How can I fill a combo with List of Local Printers, installed on Client
Machine ?
If I have to buy any Activex Control from Internet, please do recommend.
Best Regards,
Luqman
... more >>
Re: how to make navigation by using checkbox control in data gridview
Posted by Mark Rae [MVP] at 4/24/2008 3:46:33 PM
<mani.shanku@gmail.com> wrote in message
news:38e5d244-7864-49e0-ab47-34f50cfb83e3@y22g2000prd.googlegroups.com...
> im making a jobportal site..when a person go for search the results
> should desplay....
> like the naukri.com desplays..and when a person click on the checkbox
> box link...
... more >>
Re: Opening a new window when button clicked [RESOLVED]
Posted by Jim in Arizona at 4/24/2008 3:43:05 PM
"Mark Rae [MVP]" <mark@markNOSPAMrae.net> wrote in message
news:OuVfVqlpIHA.4848@TK2MSFTNGP05.phx.gbl...
> "Jim in Arizona" <tiltowait@hotmail.com> wrote in message
> news:ubwPOilpIHA.5096@TK2MSFTNGP02.phx.gbl...
>
>> After some searching, I found that adding this to the Page_Load sub did
>... more >>
Re: Making web user controls (ascx) available to more than 1 web application
Posted by Lloyd Sheen at 4/24/2008 3:40:17 PM
"Lloyd Sheen" <a@b.c> wrote in message
news:O2gUeJkpIHA.2068@TK2MSFTNGP05.phx.gbl...
>
> "Juan T. Llibre" <nomailreplies@nowhere.com> wrote in message
> news:OLTn9ejpIHA.5096@TK2MSFTNGP02.phx.gbl...
>> Please follow the instructions in this MSDN article :
>>
>> Turning an .ascx User Contr... more >>
Re: Making web user controls (ascx) available to more than 1 web application
Posted by Lloyd Sheen at 4/24/2008 3:35:30 PM
"Juan T. Llibre" <nomailreplies@nowhere.com> wrote in message
news:OLTn9ejpIHA.5096@TK2MSFTNGP02.phx.gbl...
> Please follow the instructions in this MSDN article :
>
> Turning an .ascx User Control into a Redistributable Custom Control:
> http://msdn2.microsoft.com/en-us/library/aa479318.asp... more >>
Re: Opening a new window when button clicked [RESOLVED]
Posted by Jim in Arizona at 4/24/2008 3:14:13 PM
"bruce barker" <brucebarker@discussions.microsoft.com> wrote in message
news:31A7A52C-5278-4856-8C3F-EFF9D1A203A6@microsoft.com...
> buttons do a form submit. you set the target on the form to control this.
> asp.net forms do not allow the target to be set, so yo must use a
> non-server
> f... more >>
Re: Session times out in less time than I set
Posted by gnewsgroup at 4/24/2008 3:13:32 PM
On Apr 18, 3:47 pm, bruce barker
<brucebar...@discussions.microsoft.com> wrote:
> asp.net has an application idle (shutdownTimeout) setting defaulted to 30
> minues. if noone hits the site and you use inproc sessions, then they will be
> lost at the thirty minute mark.
>
> -- bruce (sqlwork.c... more >>
Re: Better Alternative than Application State?
Posted by George Ter-Saakov at 4/24/2008 2:53:39 PM
I would say it's a novel idea (at least for me). But I would classify it as
dangerous. Have you actually tried to use it?
Here is an explanation:
Are you positive that .NET library is properly initialized at the point when
static constructor called?
I mean that your
System.Configuration.Con... more >>
Re: usign Skype from .NET
Posted by Cowboy (Gregory A. Beamer) at 4/24/2008 2:39:13 PM
I generally like Google for these types of question. :-)
http://tinyurl.com/5ra7he
There are a few projects on Code Project.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss
or just read it:
http://gregorybeamer... more >>
Re: Client and Office from asp.net
Posted by George Ter-Saakov at 4/24/2008 2:38:43 PM
You should add Content-Disposition to the header.
Like this Content-Disposition: attachment; filename="file.pdf"
So in C# code it's Response.AddHeader("Content-Disposition", "attachment;
filename=\"file.pdf\"");
And then do Response.WriteFile
Browser will be forced (thanks to "attachment" ... more >>
Re: Master Page Properties persist?
Posted by Cowboy (Gregory A. Beamer) at 4/24/2008 2:37:07 PM
In general, no.
The master page, while it seems like a common container in the designer, is
actually a type of user control, which means it has page scope. Even if all
of your pages use the same master, the properties are not global.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
Sub... more >>
Re: UL list-style-image not working
Posted by Hans Kesting at 4/24/2008 2:31:56 PM
After serious thinking Angelo wrote :
> Hi all,
>
> I am having a very annoying problem when using an unordered list in my
> aspx page. I set a UL style to use a custom image as the list style
> image but it does not show in the screen. I have tried it in a couple
> different ways but still no... more >>
Re: Making web user controls (ascx) available to more than 1 web application
Posted by Juan T. Llibre at 4/24/2008 2:19:27 PM
Please follow the instructions in this MSDN article :
Turning an .ascx User Control into a Redistributable Custom Control:
http://msdn2.microsoft.com/en-us/library/aa479318.aspx
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.... more >>
Re: SqlConnectionString\ODBC\VS2008
Posted by George Ter-Saakov at 4/24/2008 1:59:59 PM
The SqlConnection is only for MS SQL server.
If you using DSN then you need to use OdbcConnection class
George
"gh" <gh@att.net> wrote in message
news:uYNh3IjpIHA.1772@TK2MSFTNGP03.phx.gbl...
>I have the following code, in an ASP.NET app, to setup a connection in
> code.
>
> string co... more >>
Re: SqlConnectionString\ODBC\VS2008
Posted by Lloyd Sheen at 4/24/2008 1:54:52 PM
"gh" <gh@att.net> wrote in message
news:uYNh3IjpIHA.1772@TK2MSFTNGP03.phx.gbl...
>I have the following code, in an ASP.NET app, to setup a connection in
> code.
>
> string connectionString =
> "DSN=Interbase;UID=SYSDBA;DB=C:\\Data\\MEMDATA.GDB;";
> SqlConnection con = new Sql... more >>
Re: How to add localized listitems to a dropdownlist ?
Posted by Radu at 4/24/2008 1:48:12 PM
As another user said in some thread, the best way to solve a problem
is to post the question here - you don't event need to have it
answered - the moment you hit the "post" button, you realize how
simple the answer was, and how blind you have been.
In other words, it's as simple as:
<asp:List... more >>
IHttpAsyncHandler outputting ashx directive
Posted by ghause at 4/24/2008 1:44:00 PM
I'm trying to stream in image from another domain asynchronously.
My ashx looks like this:
<%@ WebHandler Language="VB" Class="Handlers.AsyncImageHandler" Debug="true"
%>
Here is the vb:
Imports System.net
imports system.io
Namespace .Handlers
Public Class AsyncImageHandler
... more >>
Re: ASP.Net 3.5 - Retrieving List of Local Printers on Client Machine ?
Posted by Mark Rae [MVP] at 4/24/2008 1:37:54 PM
"Luqman" <pearlsoft@cyber.net.pk> wrote in message
news:%23NJfdYgpIHA.4904@TK2MSFTNGP03.phx.gbl...
[top-posting corrected]
>>> I am using Visual studio 2008 and ASP.Net 3.5
>>>
>>> How can I fill a combo with list of local printers, installed on client
>>> machine ?
>>
>> You can't, at... more >>
How to add localized listitems to a dropdownlist ?
Posted by Radu at 4/24/2008 1:37:20 PM
For stuff like
<asp:CustomValidator
id="validDate"
Text="*"
ErrorMessage= "<%$ Resources:Scorecards, String66 %>"
Display="Dynamic"
OnServerValidate="ServerValidate"
runat="server">
</asp:CustomValidator>
apparently the syntax
....= "<%$ Reso... more >>
Making web user controls (ascx) available to more than 1 web application
Posted by Andy B at 4/24/2008 1:27:45 PM
How do you make ascx controls available to more than 1 web application or
vs2008 project? I tried putting it inside a dll but it wont let me. I
thought there was a project type for web user controls, but can't find it
now for some reason. What should I do?
... more >>
|