all groups > asp.net > january 2008 > threads for wednesday january 16
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 31
ASP.NET ActiveX Object Windows API Access
Posted by StinkyDuck at 1/16/2008 11:24:33 PM
I'm trying to determine if it is possible to create a ActiveX control which
would be deployed through IE that would provide access to the client
resources to control devices like barcode readers, printers, scales, mag
stripe readers etc. If the user is prompted to download and install the
A... more >>
Using ~/ path for to link a CSS page?
Posted by Lance Wynn at 1/16/2008 8:08:06 PM
Hello all,
Is there a way to use the ~/ path to link a CSS page?
I thought maybe something like this would work, but no go:
<link href="~/style.css" rel="stylesheet" type="text/css"/>
Is this possible to do with the link element?
Thanks
... more >>
ASP.NET Masterpage, Contentpage displays greek fonts not correct
Posted by Anthony Planz at 1/16/2008 6:18:46 PM
Hello,
I have a problem with displaying Greek fonts in a content placeholder.
The Masterpage content displays correct, the content inside the content
placeholder not.
Example:
http://axa-ppp.gr/GRDefault.aspx
The pages which are not connected to a Masterpage displaying correct.
Example:
h... more >>
HTTPWebRequest ?????
Posted by Francois at 1/16/2008 5:49:46 PM
Hello,
I cannot understand how this works ...
I do :
XmlDocuement DocIn = new XmlDocument();
blah blah for DocIn.
try{
MyRequest =
(HttpWebRequest)HttpWebRequest.Create("http://myserver/myxmlweb/Default.aspx");
MyRequest.Method = "POST";
MyRequest.ContentType = "text/xml;";
Do... more >>
REQ: Recommendations, replacement for abcPdf
Posted by mark4asp at 1/16/2008 4:12:59 PM
I'm looking for a replacement for webSupergoo's abcPdf (which is free).
We can afford to pay for this.
Here are my problems with abcPdf. The pdf document created uses data
which has hyperlinks in it. 1) When the hyperlink has an underscore,
abcPdf parsing breaks and half the url is displayed [... more >>
How to create a control (.NET 2.0)
Posted by M. Ali Qureshi at 1/16/2008 3:54:36 PM
Hi Experts,
I'm a beginner/intermediat in ASP.NET. I have created a small photo gallery
to use in my own personal site. Which i think is quite simple and nice
enough that i would like to share it online.
I would like to share it in form of a control (DLL), where user should be
able to se... more >>
sqldatasource help
Posted by rodchar at 1/16/2008 3:51:00 PM
hey all,
can someone please help me get the following snippet work?
protected void BtnSearch_Click(object sender, EventArgs e)
{
SqlDataSource4.SelectParameters.Add("@FirstName", TextBox1.Text);
SqlDataSource4.Select(DataSourceSelectArguments.Empty);
GridView1... more >>
Rebase link tag in conditional comment
Posted by John at 1/16/2008 2:53:51 PM
Hi there,
I've just been reading "ASP.Net 2.0 - Master Pages: Tips, Tricks, and
Traps" by K. Scott Allen (http://odetocode.com/Articles/450.aspx) and
discovered how rebasing works with URL's in link tags for external css
files.
My question is, does this also work for link tags enclosed ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Special Deployment required
Posted by DGleeson3@gmail.com at 1/16/2008 2:13:32 PM
Hello All
Hope Im posting in the right place. If not please point me elsewhere.
We are developing a reasonably standard Web application. VS2005
ASP.NET SQL server 2005.
The unusual requirement comes from the deployment (installation) of
this web application.
I should start by say... more >>
asp.net 2.0 cant count?! help!
Posted by Andy B at 1/16/2008 1:46:43 PM
I have a detailsView (replaced the formview with it) thinking it would help
me fix my control access in a formview problem. Well, I don't think .net
knows how to count. Here is what I have:
I am trying to display the value of a certain cell in a label control. Say,
NewsId for my example. In... more >>
System.Net.WebException
Posted by Vijay at 1/16/2008 12:59:03 PM
Hi,
I am calling an external web service that returns some data which is being
displayed on my ASP.NET page. This page refreshes every 60 seconds and pulls
the updated data from the web service.
The page works great for a few minutes and then all of a sudden throws the
following error:
... more >>
Page Events
Posted by Scott M. at 1/16/2008 12:55:36 PM
In a VS 2005 ASP .NET Web Application Project (WAP), how can I see a list of
the page (web form) events (i.e. new, init, loadviewstate, load,
saveviewstate, etc.) and set up event handlers for them?
... more >>
Delegate Creation
Posted by Scott M. at 1/16/2008 12:53:56 PM
In a new VS 2005 ASP .NET Web Application Project (WAP), I'm looking at the
..designer.cs file to see how the event handlers for my page controls are
wired up to the events.
I was expecting to see the delegates being associated with the event
handling methods in the page (like in a Windows ... more >>
How do I build a 3-pane framework in ASP.NET?
Posted by LRuss at 1/16/2008 12:23:02 PM
I am looking for a tutorial, sample project, or 3rd party control(s) that
will show me how to build a 3-panel webpage framework like the MSDN Library
or Outlook.
A fixed horizontal panel across the top; a treeview navigation in left-hand
panel; content in the right-hand panel with horizontal ... more >>
Accessing the ASP.Net Development Web Server
Posted by JJ at 1/16/2008 11:48:38 AM
Is it possible to have a local (local - meaning same subnet,) computer
access the web development server that ships with Visual Studio 2005?
Even if it means opening a port every time Visual Studio debugs the site, so
that at least the other computer can test the site.......?
Thanks in adv... more >>
WebResource.axd and blowery HttpCompress
Posted by Mark at 1/16/2008 11:47:04 AM
Hi...
We recently upgraded to the blowery.HttpCompress module for .Net 2.0 (I
know, long time coming), and I've been investigating some exceptions that
have ended up in our log as a result.
I'm new to some of the modules involved, but the exception I've found is
that when a request comes... more >>
asp:DropDownList
Posted by OldButStillLearning at 1/16/2008 11:19:00 AM
If I want to hang javascript off of an asp:DropDownList control, how would I
do this? There does not seem to be a "onchange" event so do I have to use
an HTML control to do this?... more >>
[AJAX ASP.NET]Performance
Posted by Oriane at 1/16/2008 10:50:44 AM
Hi,
I ask myself: if an AJAX aspx page doesn't need anything on the IIS server
and only uses Web services from inside the Javascript to fetch data, is it
necessary to keep a connection/session with IIS ? I guess not !
In that case, how can we "delete" the session with that client in IIS ? ... more >>
writing into an excel file
Posted by Paul at 1/16/2008 10:28:02 AM
Hi I have an sql database and I need to do the following, hoping there are
some examples I can look at to impliment.
1. Copy an excel file on the server, just using a new name.
For example template.xls is an existing file on the server so the .net
application
would copy it on the server and ... more >>
c# namespace conflicts
Posted by Microsoft Newsserver at 1/16/2008 9:40:24 AM
Hi
I have a web applications ( one with the dll ). and I have declared some
classes. However, I keep getting warnings that the class c:\xxxx\xxxx\xxx.cs
conflicts with the imported on the in c:\xxx\xxxx\xxxx\cccc.dll
I cant remember having this problem before. How do i get around it ?
... more >>
WPF Browser Application VS ASP.Net Web Site
Posted by DNB at 1/16/2008 9:20:59 AM
WPF Browser Application VS ASP.Net Web Site
We will be soon developing our new Web based project. We are still thinking
should we use XBAP/WPF (XAML Browser Application)
or regular ASP.Net Web Project.
What are the Pro and cons of using these.
Any idea
Thanks
DNB
... more >>
Marshal.Copy (in medium trust level environment)
Posted by Steven Voordijk at 1/16/2008 8:59:07 AM
I'm writing code to copy, manipulate and save an image file.
The code written is based on this article by Microsoft;
http://support.microsoft.com/?id=814675
Unfortunately, the "Runtime.InteropServices.Marshal.Copy" action
is not allowed on the shared hosting environment with medium trust level... more >>
Question about...
Posted by JJ297 at 1/16/2008 8:40:14 AM
Can someone take a look at my stored proc and code behind page to let
me know why isn't Titleid going into the database? I can't figure it
out!
I have a gridview on the other page and carrying the TitleID over to
the next page which works well.
Protected Sub GridView1_SelectedIndexChanged(... more >>
Multiple file download from network drive via web
Posted by ghart@medex.com at 1/16/2008 8:25:18 AM
Hello all,
I have been trying to determine the best way to do this, but can't
seem to get any solution to work exactly the way I want. The scenario
is that I have some xml files being placed on a network drive of one
of our servers. I needed to copy this files to my web server to do
process... more >>
Control ID Name
Posted by OldButStillLearning at 1/16/2008 8:05:00 AM
I want to write some javascript attached to some event. When the event
fires, I want to pass the name of a ASP.Net Control to the javascript. I
happen to be working in a web page which has a master page. What I notice is
that when the page is rendered the ID's of all of the ASP.Net controls... more >>
AJAX and Forms Authenication Timeout
Posted by Angel666 at 1/16/2008 8:00:50 AM
We are using forms authenication with AJAX update control panels. We
get various results but no redirect when the user has timed out and is
no longer authenicated and does a asyncpostback. We have tried
onasyncpostbackerror method but it is not even hitting the code
behind.
Because the server... more >>
Find An HTML Control
Posted by OldButStillLearning at 1/16/2008 7:59:03 AM
How do you find an HTML control that is placed on an HTML page? I presume
that you have to add the runat="server" to the HTML element..but then how do
you find that element?
... more >>
App_Code class access confusion
Posted by rlm at 1/16/2008 7:54:01 AM
Steps to reproduce:
1. Create new web app. I am in v3.5 and vs2008
2. Create App_Code folder
3. Add Class A with public static int B;
4. Go to default.aspx.cs Page_Load and the compiler says that Class A does
not exist in the current context.
Why? And how do I access these classes in App_Co... more >>
Xslt driven webpages - Resources
Posted by Erik K. Schindeldecker at 1/16/2008 7:54:00 AM
Good Morning,
I am looking for a resource to transition some existing ASP.net 2.0 vb web
pages to Xslt-driven pages. I have been unable to find a good resource. Any
suggestions on a good resource would be appreciated.
Thanks, Erik... more >>
Can't access controls inside a formView
Posted by Andy B at 1/16/2008 6:38:27 AM
I have 2 TextBoxes and a Label inside the EditItemTemplate of a formView
(the EditItemTemplate is the only template it has). I need to access the
properties of the Label and TextBox controls elsewhere on the page. How do
you do something like that? I tried probably just about everything I can ... more >>
using Java in ASP.Net 2.0
Posted by maboo59 at 1/16/2008 6:33:17 AM
Hello,
I need to call a function from a java class(Example.java, not
Javascript) from
within .Net 2.0 and I don't know how to do it.
Does anyone hava any suggestions?
Thanks... more >>
sqldatasource wizard permissions
Posted by rodchar at 1/16/2008 6:24:00 AM
hey all,
i'm trying to use the sqldatasource wizard and none of the tables are
showing up for the query builder. what kind of permissions do i need to grant
for this wizard to see it?
thanks,
rodchar... more >>
Exporting Summaries written for functions
Posted by amir.khatibzadeh@gmail.com at 1/16/2008 3:12:33 AM
hi every body, i want to know how could it be possible to export
information and summaries I wrote for a function!
to clear up my Q
this is my summaries written for function
/// <summary>
/// get the column name of a column field of a table
/// </summary>
... more >>
|