| problems with some character |
|
 |
Index ‹ Web Programming ‹ ASP.Net
|
- Previous
- 1
- 2
- Frontpage Client >> Not able to allow annonomous users to upload to my folderI am trying to place an upload form into my website. I followed the
instructions given by frontpage until I get to where it says right click on
the folder and deselect the option for allowing scripts. I can not do this
because that selection is "dimmed" as well as the options to allow annonomous
users to upload to the folder and for uploaded files to write over files that
are already there. How do I make these things come out of "dimness" so that I
can chose these options? By the way the allowing scripts option is not
choosen in its present form. Thanks
- 3
- 4
- Frontpage Programming >> "Embedded" Pagination, how do I?I want to prepare a site that, when printed, the pages are all paginated to
A4. During composition I also wish to prepare a A4 pages.
The rationale that not all those who will need to access the material will
do so via a PC so I want a quick way of being able to produce a hard copy
version that is page for page like the website.
Any ideas please?
--
73
Brian
G8OSN
www.g8osn.org.uk
and
www.qsl.net/g8osn for FREE training material for the UK Foundation and
Intermediate Licences
- 5
- 6
- 7
- ASP.Net >> implementing searchHow to implement filtering or searching of the data like we have in
MSDN.when we tye any word in the lookup it should automatically be
sorted and as we go on entering the search should be more refined any
method to do this
please let me know.
thanks in advance
- 8
- Frontpage Client >> Auto resize of background pictureHi,
I've put in my own background picture on my webpage. It looks fine when I am
in a lower resolution, however, when I am on a higher one, it tends to tile,
making it look bad. Is there a way to make the pciture automatically fit the
screen?
I'm using Frontpage 2003.
- 9
- ASP.Net >> Get Web.Config sectionHello,
How can I get the value of an element of a web.config section?
For example:
<A>
<B>
<add name = "Name1" value = "Value1" />
<add name = "Name2" value = "Value2" />
<add name = "Name3" value = "Value3" />
</B>
</A>
I want to get the Value2 given the name of the section "B" and the
name "Name2".
Could you please tell me how to do this?
Thanks,
Miguel
- 10
- 11
- 12
- Frontpage Client >> Spell checkHas anyone else had the issue where the spell check says a word is spelled
wrong, you correct it and it reads your word as two words (the corrected
portion, and the new portion) and still says it's spelled wrong? very
bizzare. If so, do you know how to keep it from doing this?
- 13
- ASP.Net >> Sort DataSetHello,
I have a DataSet with a DataTable that has 2 columns: Level and
LevelName
I want to sort the rows ascending using Level values.
How can I do this?
Thanks,
Miguel
- 14
- 15
- ASP.Net >> Open Excel files outside of Internet ExplorerHi
I'm rendering my datagrid to a HTML stream with a .xls extension to open in Excel however it opens in the browser. Is there a way to programatically force it to open Excel? I know you can configure a setting in windows explorer to do this but i want to do this without any client interaction
Thanks
|
| Author |
Message |
StuBaby

|
ASP.Net >> problems with some character
Hi,
I've problem with some character input by the user into a web form.
The requestEncoding and responseEncoding are set to "iso-8859-1", but some
character truncate the request (I see this using the tracing).
How did you solve this type of problems ?
Thank you.
Bye
Stefano
Web Programming443
|
| |
|
| |
 |
| |
 |
Index ‹ Web Programming ‹ ASP.Net |
- Next
- 1
- ASP.Net >> exporting word file content to aspx web pageHello,
I'm trying to diplay the content of a word file on a aspx page
only the content if possible... not the file
I tried the folowing but it doesn't work...
Response.ContentType = "application/ms-word";
string file ="Annexes.doc";
Response.WriteFile(file);
the only documentation I can find is for doing the reverse?
Are there any tools for doing so?
thanks for your help.
- 2
- 3
- 4
- 5
- ASP.Net >> Date controlI need date picker control which allows that user pick more than just one
date.
For example, user pick 12,15 and 17 november and on page submit I can read
the selection from the calendar control.
Does anybody know the solution?
Thank you,
Simon
- 6
- ASP.Net >> Groupname for Radiobutton kills Listener from Buttons?I have the following problem (especially with the groupname-attribut of the
RadioButton-Control) when developing in Visual Studio 2005 Beta.
I load an ascx-control in an aspx-page. This ascx-control itself creates
dynamically many radiobuttons in this way:
foreach (DataRow radiobutton_item in rbl_values.Rows)
{
RadioButton single_radiobutton = new RadioButton();
single_radiobutton.ID = "idname";
single_radiobutton.GroupName = "groupname";
this.Page.Controls.Add(single_radiobutton);
}
When loading the aspx-Page (and its controls) everything is fine and
groupname works as it should (I could only select one of the group). But when
a postback to this site occurs it seems that the listener of the
submit_button (placed on the aspx-Page) is killed. When I do not define the
Groupname of the RadioButton the submit_button works as it should (listeners
are not killed?!) but I can select more than only one radiobutton as I don't
have a group which they belong to.
I tried it already with an alternative:
single_radiobutton.Attributes.Add("name", mygroupname) instead of
single_radiobutton.GroupName = "groupname"; (seen in
http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.dotnet.framework.aspnet&mid=3079eba1-694a-431a-8ae4-a458895a37ec&sloc=en-us)
but this didn't help.
Do you knwo this issue?
- 7
- ASP/Active Server Pages >> How would I build a Graphical TimelineHello-
I'm interested in building a graphical timeline for a series of tasks that
are stored in a SQL Server 2000 database. The tasks reside within a table.
We also have a table to track the history and date of status changes. Some
of the status flags are as follows:
1 - In Progress.
2 - Awaiting Info.
3 - On review server.
For each task, using ASP or ASP.Net, I would like to be able to display a
graphical timeline for each task, with the status changes denoted for a
given date range.
Does anyone have any ideas on the best approach for this task?
Thanks alot!
Chris
- 8
- ASP.Net >> how to give proper permission for asp.net in sql server expresshi,
i have a problem which bothered me for a long time. i tried to connect
my asp.net page with sql server express 2005 and always got some error
msg telling that the current nt account doen't have enough permission.
i know this happens because i havn't given proper permission to the
internet guest account. i tried the following sql statements in visual
studio, but no one worked:
sp_grantlogin 'machine_name\ASPNET'
sp_grantlogin 'IUSR_MACHINE_NAME'
sp_grantdbaccess 'machine_name\ASPNET', 'Common User'
sp_grantdbaccess 'machine_name\ASPNET', 'DBO'
sp_grantdbaccess 'IUSR_MACHINE_NAME', 'Common User'
sp_grantdbaccess 'IUSR_MACHINE_NAME', 'DBO'
......
besides the problem, now i begin to be messed up with those sql server
permission stuff. anyone can help to figure it out? or is there any
article that can help me have a better understanding of that?
thanks.
- 9
- ASP.Net >> WNetAddConnection2 call: "PInvokeStackImbalance was detected"I'm getting this message in Visual Studio 2005:
PInvokeStackImbalance was detected
Message: A call to PInvoke function
'Refresh!Refresh.Main::WNetAddConnection2' has unbalanced the stack.
This is likely because the managed PInvoke signature does not match
the unmanaged target signature. Check that the calling convention
and parameters of the PInvoke signature match the target unmanaged
signature.
My goal is to connect to a remote filesystem. I don't want to
create a mapping to the filesystem. I just want to connect using the
login name and password that I already have. The web sites that I
googled around at stated that WNetAddConnection2() could be used for
this purpose, particularly
<http://groups.google.com/group/microsoft.public.vb.winapi.networks/browse_t
hread/thread/f61e50f43601670b/005f911e0da84edc?lnk=st&q=LOGON+VPN+VB&rnum=7&
hl=en#>
The code in question is this:
' dwFlags values.
Private Const CONNECT_UPDATE_PROFILE As Long = &H1
Private Const CONNECT_INTERACTIVE As Long = &H8
Private Const CONNECT_PROMPT As Long = &H10
' dwType values.
Private Const RESOURCETYPE_ANY As Long = &H0
Private Const RESOURCETYPE_DISK As Long = &H1
Private Const RESOURCETYPE_PRINT As Long = &H2
Private Const RESOURCETYPE_RESERVED As Long = &H8
Private Const RESOURCETYPE_UNKNOWN As Long = &HFFFFFFFF
' dwScope values.
Private Const RESOURCE_CONNECTED As Long = &H1
Private Const RESOURCE_GLOBALNET As Long = &H2
Private Const RESOURCE_REMEMBERED As Long = &H3
Private Const RESOURCE_RECENT As Long = &H4
Private Const RESOURCE_CONTEXT As Long = &H5
' dwDisplayType values.
Private Const RESOURCEDISPLAYTYPE_DOMAIN As Long = &H1
Private Const RESOURCEDISPLAYTYPE_GENERIC As Long = &H0
Private Const RESOURCEDISPLAYTYPE_SERVER As Long = &H2
Private Const RESOURCEDISPLAYTYPE_SHARE As Long = &H3
Private Const RESOURCEUSAGE_CONNECTABLE As Long = &H1
Private Const SW_SHOWNORMAL As Long = 1
Private Declare Function WNetAddConnection2 Lib "mpr.dll" _
Alias "WNetAddConnection2A" _
(ByVal lpNetResource As NETRESOURCE, _
ByVal lpPassword As String, _
ByVal lpUserName As String, _
ByVal dwFlags As Long) As Long
' The examples used Private Type but Visual Studio complained
' and said that Structure was now preferred.
Private Structure NETRESOURCE
Dim dwScope As Long
Dim dwType As Long
Dim dwDisplayType As Long
Dim dwUsage As Long
Dim lpLocalName As String
Dim lpRemoteName As String
Dim lpComment As String
Dim lpProvider As String
End Structure
' Function code here.
Dim netstruct As New NETRESOURCE
Dim errcode As Long
With netstruct
.dwScope = RESOURCE_GLOBALNET
.dwType = RESOURCETYPE_ANY
.dwDisplayType = RESOURCEDISPLAYTYPE_SHARE
.dwUsage = RESOURCEUSAGE_CONNECTABLE
.lpRemoteName = backup_base_dir
.lpLocalName = vbNullString
.lpProvider = vbNullString
End With
errcode = WNetAddConnection2(netstruct, _
strLogPass, strLogName, _
CONNECT_INTERACTIVE Or CONNECT_UPDATE_PROFILE)
Am I using contradictory options? Or am I using the wrong function
to begin with?
Thanks,
--
-john
February 28 1997: Last day libraries could order catalogue cards
from the Library of Congress.
- 10
- Frontpage Client >> Page BreakIs it possible to insert a page break in a form in FrontPage 2000 so
that the printing of the form can be controlled? Thanks for any help.
- 11
- ASP.Net >> Windows Firewall blocking WebClientI've been trying to use WebClient to download a file from an ftp server, but
kept getting this exception during the call to DownloadData:
An existing connection was forcibly closed by the remote host.
After much hair-pulling I finally figured out that if I disable Windows
Firewall the error goes away. I imagine I should be able to add something
to my Windows Firewall Exceptions list. FTP is already in the exceptions
list (and works fine on the command line). Should I add IIS? How do I do
that?
Nate Hekman
- 12
- Frontpage Client >> Sharing Main Category ListI am wondering if anyone is able to shed some light on my dilema... I have 6
computers in an office that are now sharing a public folder (so its bascially
networked)... and we are beginning to create and develop and buyers
database... but here's where the problem lies... each of us have different
Main Category listings... so if we enter a person's details and try to put
them in a specific category no one else can pick that category up... is there
a way of simplfying the system so that when anyone of us open up the category
listing - we all have the same ones. And if we change anything in the Main
Category listing - then it changes on everyopne machine. Is this at all
possible??
I would really apprecaite any help.
Cheers
Stephanie
- 13
- ASP.Net >> Print Datagrid MatterMy Datagrid displays few pages of row data with gridline nicely shown. But
when I do print to hardcopy, start from the second page of the printing,
gridlines are unable to shown out on the hardcopy. Why such matter occured?
TQ
Michael.
- 14
- ASP.Net >> Session state issuesHi,
I am getting the exception "Unable to connect to SQL Server session
database." many a times in my web app. I am dotNet 2 and Sql Server
2005.
(1) I use StateServer, and everything is working fine.
sqlConnectionString="data source=abc_db\abc1;user
id=abcd;password=1234"
I get the following error:
Stack Information : at
System.Web.SessionState.SqlSessionStateStore.ThrowSqlConnectionException(SqlConnection
conn, Exception e) at
System.Web.SessionState.SqlSessionStateStore.SqlStateConnection..ctor(SqlPartitionInfo
sqlPartitionInfo) at
System.Web.SessionState.SqlSessionStateStore.GetConnection(String id,
Boolean& usePooling) at
System.Web.SessionState.SqlSessionStateStore.ResetItemTimeout(HttpContext
context, String id) at
System.Web.SessionState.SessionStateModule.BeginAcquireState(Object
source, EventArgs e, AsyncCallback cb, Object extraData) at
System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
Inner Exception : System.Data.SqlClient.SqlException: Cannot open
database "ASPState" requested by the login. The login failed. Login
failed for user 'abcd'. at
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection
owningObject) at
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection
owningConnection) at
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory) at
System.Data.SqlClient.SqlConnection.Open() at
System.Web.SessionState.SqlSessionStateStore.SqlStateConnection..ctor(SqlPartitionInfo
sqlPartitionInfo)
Has anyone faced a similar type of problem?
Thanks a lot.
Rahul
- 15
- ASP.Net >> on line poll site - need helpHi
I have a on line poll site for the coming general election in Sri Lank
http://jinath.europe.webmatrixhosting.net/ (asp.net
My problem is people can vote more that one time, I have put a cookie and session
But they can delete the cookie and open a new browser and vote again , I tried the new GUID (unique identifiers) whish .net have but it generating different GUID for same computer
So please any one have a good idea to overcome this proble
---
Posted using Wimdows.net NntpNews Component - Posted from .NET's Largest Community Website: http://www.dotnetjunkies.com/newsgroups/
|
|
|