encyption/decryption of connection string..
I have requirement to encrypt the windows service config file and web.config
connection strings, I could able to do that for web.config with aspnet_regiis
(C:\Windows\Microsoft.NET\Framework64\v2.0.50727>aspnet_regiis -pe
"connectionStrings" -app "/application.ui")
But I am still looking similar kind of way for windows service config file
to encrypt and decrypt.
..exe.config file snippet as below
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings"
type="System.Configuration.ApplicationSettingsGroup, System, V
|
3/10/2010 10:39:01 PM
|
0
|
=?Utf-8?B?c2FjZ2Fy?= <sac...@discussions.microsoft.com>
|
|
Calling Javascript from Server Side - Error When Passing Data Contains Single Quote
I have the following lines of code in the GridView.RowDataBound event
to call some Javascript code when the user clicks on a GridView row.
If any of the strings I am passing to the Javascript code contain a
single quote this Javascript error occurs: Error: Expected ')'. How
do I fix the first line of code below to allow for single quotes?
seldata = "userSelected('" + strCustName + "','" + strCustCompany +
"', '" + strAddress + "')"
e.Row.Attributes.Add("onclick", seldata)
'test the code above by setting strAddress = "123 Veteran's Blvd"
(using asp.net 2.0, vb.net, VS2008)
|
3/10/2010 10:18:20 PM
|
0
|
Mel <mlights...@gmail.com>
|
Create csv
Is there an easy way in asp.net to dump out a comma-delimited file from an
SQL view or stored proc? Thanks.
--
David
|
3/10/2010 8:31:03 PM
|
0
|
=?Utf-8?B?RGF2aWRD?= <dlch...@lifetimeinc.com>
|
2 DBs connections + commit/rollback
Hi, the asp.net app have to communicate with MSSQL and FireBird DBs. Because
FB is desktop and MSSQL is web. Firebird is 3rd comp. .net driver we use...
but the situation:
Open FB tran and MSSQL tran... If the commit fails on FB that is first
executed, the MSSQL (2nd step) is not executed, no problem...
but how can I do a FB rollback that was commited if the MSSQL fails on
commit?
Have you ever seen this?
Thanks
|
3/10/2010 7:28:18 PM
|
0
|
"Paulo Roberto" <paulo_s...@hotmail.com>
|
DBTYP.NET Studio 2010 - Database Comparison Suite Released
DBTYP.NET Studio 2010 - Database Comparison Suite Released
Vienna, Austria - March 8, 2010
Today, BYPsoft announced the availability of DBTYP.NET Studio 2010, the
newest version of the cross-database comparison tool that compares SQL
Server, MySQL and Oracle databases (schema and data). DBTYP.NET Studio 2010
is available for download from http://www.bypsoft.com.
With its rich support for schema and data cross-database comparison,
DBTYP.NET Studio takes the mystery out of databases, making their comparison
practical and easy for programmers and database administrators everywh
|
3/10/2010 7:20:21 PM
|
0
|
<Tommy>
|
UpdatePanel Question
Could someone help. I have a form with a grid in one updatepanel 'updGrid',
mode=Conditional, and a detail panel 'updDetail', also in an UpdatePanel
mode=Conditional) that toggles visible when a commandfield in the grid is
clicked. The problem I'm having is if you click the button 'updDetail'
twice and the detail panel is visible I get a the following error.
***************Error**************
Microsoft JScript runtime error:
Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or
callback argument. Event validation is enabled using <pages
enableEventValida
|
3/10/2010 4:25:15 PM
|
1
|
"Scooby Dog" <duckkille...@somenet.net>
|
Newbie question about impersonation
Hi all,
I'm facing a little issue and I don't know if the cause comes from ASP.Net
itself, the way I use ASP.Net or VirtualBox. Let me explain.
I wrote an ASP.Net web interface which runs some powershell scripts. For my
site (purely internal), I'm using impersonation through the web.config file:
<identity impersonate="true" userName="<domain>\robot" password="<password>"
/>
The issue is despite this impersonation (which seems to work well)
VirtualBox uses the systemprofile to get its configuration.
Any idea or suggestion would be greatly appreciated. Thanks.
|
3/10/2010 4:11:02 PM
|
3
|
=?Utf-8?B?Um9tdWFsZA==?= <Romu...@discussions.microsoft.com>
|
How can I put this javascript in external .js file?
hi
asp.net 3.5
When I view the source of my site I see some javascript generated in the
html:
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>
Wonder if I could remove this javascript from the page and put in a .js
|
3/10/2010 1:22:25 PM
|
5
|
"Jeff" <it_consulta...@hotmail.com.NOSPAM>
|
Why aren't fonts small?
VWD2008
At http://www.gertes.com/pages/about/academic_research/ underneath each
photo I have grey text which I selected as "Small" font size. Does anyone
know why it is showing as the same size as the body text?
|
3/10/2010 12:16:03 PM
|
2
|
"Mark B" <none...@none.com>
|
Asp.net 3.5 with ajax ok locally (XP), but keep error on Win2008 6
Hi,
I've an application using .net 3.5 ajax and ajaxtoolkit. I've check on
development local XP-PC everything was ok. But when I deploy on server 2008
64bit, it keep come out javascript error message:
Sys.scriptloadfailed exception: the script /ScriptResource.axd?d=
.............. failed to load. ... Missing call to
Sys.Application.notifyScriptLoaded()
I've done:
- repair .net 3.5 sp1 and restart.
- IIs application poll "enable 32 bit application"
- insert tag "<xhtmlConformance mode="Transitional"/>" on web.config
but still can't work.
This problem maybe same which po
|
3/10/2010 7:28:01 AM
|
1
|
=?Utf-8?B?TUFO?= <...@discussions.microsoft.com>
|
updatepanel, gridview, calendar
I have a gridview that is inside an update panel. In the gridview there is a
date field. In the Update mode, a calendar extender is used for a calendar
extender (the full template source below). Simple, effective, and very user
friendly when the update panel is not used.
<asp:TemplateField HeaderText="Target End Date"
SortExpression="DevTargetEndDate">
<ItemTemplate>
<asp:Label ID="lblDevTargetEndDate"
runat="server" Text='<%# Bind("DevTargetEndDate", "{0:M-d-yyyy}")
%>'></asp:Label>
|
3/10/2010 5:16:01 AM
|
3
|
=?Utf-8?B?Sm9obkU=?= <Jo...@discussions.microsoft.com>
|
OnClick Event name for Web page
I am trying to figure out the OnXXXX convention for an event.
It doesn't seem to be needed in an Windows Form page.
But it seems to be needed on a web page.
If I set up a User Control as so:
******************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebApplication2
{
public delegate void OwnerChangedEventHandler(string newOwner);
public partial class WebUserControl1 : System.Web.UI.UserControl
{
public
|
3/10/2010 3:41:49 AM
|
3
|
"tshad" <...@dslextreme.com>
|
ASP.net vs PHP
I know there is a PHP for Microsoft databases. I am curious as to what is
the benefit of ASP versus PHP? DO you use PHP.net or just PHP? I have
developed PHP and MySQL and I also have developed some Access/SQL Server
databases. I have never done ASP but I have done some VBA.net. So can you
tell me a little bit about the difference between ASP and PHP and which is
preferable?
thanks,
|
3/10/2010 12:56:01 AM
|
1
|
=?Utf-8?B?SmFuaXM=?= <Ja...@discussions.microsoft.com>
|
Page lifecycle execution continues after server.transfer in 3.5 framework
I have noticed that after switching to 3.5 from 2.0 after a server.transfer,
the page lifecycle of the new page run but when its done, it comes back to
the original page to finish the page lifecycle there. this causes errors in
my web application.
is there a change in 3.5 that causes this issue?
page_load of 1st page, => server.transfer => page_load/Render etc of 2nd
page => returns to 1st page to finish page_load and rest of events.
in 2.0, the executing code never returned to 1st page. We have exception
logging that is now getting filled up with these exceptions that it di
|
3/9/2010 10:04:08 PM
|
4
|
"TS" <manofstee...@nospam.nospam>
|
soap message
Hi!
Below I have a simple console program that is using the SoapFormatter to
serialize an object ShoppingCartItem into file.
Assume that we serialize this object by using SoapFormatter and sent it away
so it can be deserialized in another application on another computer. I mean
when we deserialize we do this
item = (ShoppingCartItem)sf.Deserialize(fs);
knowing that the object is a ShoppingCartItem that is going to be
deserialized
Now to my question when writing code on the receiving application that will
deserialize the object
how is it possible to write code that know in
|
3/9/2010 9:28:55 PM
|
0
|
"Tony Johansson" <johansson.anders...@telia.com>
|
Gridview button field only works on page 1 of grid
Hi all
I've got a gridview in a Visual Studio 2005, .NET version 2.0 web app, which
displays many records. The grid's AllowPaging and AllowSorting properties are
set to true with the grid displaying 10 records per page.
There is a buttonfield column in the gridview which fires the grid
rowcommand event as follows:
Dim index As Integer
Dim selectedRow As GridViewRow
Dim filePath As String
'find the serial number of the record and open its change history
index = Convert.ToInt32(e.CommandArgument)
selectedRow = Me.SearchGrid.Rows(index)
Dim serialNumber As Strin
|
3/9/2010 3:19:01 PM
|
1
|
=?Utf-8?B?SnVsaWEgQg==?= <Jul...@discussions.microsoft.com>
|
ASP.NET Session does not expire
I have an in-proc session managemet where session timeout set to 10 min.
I have a report viewer control which connects to the reporting services and
renders the report. This happens in server mode.
My question is if report is rendered and user does not perform any action on
UI
the session should expire but it doesn't happen. When checked from firebug
it is found that a automatic ping request is sent to server from report
viewer.
How to configure to stop this.
Please do reply.
Thanks.
|
3/9/2010 11:28:01 AM
|
0
|
=?Utf-8?B?QXJ1bg==?= <A...@discussions.microsoft.com>
|
Object doesn't support this property or method
I have a gridview that has an arrow on it for show/hide the nested gridview.
When I use the arrow I get the error listed in the subject line above. Here
is the javascript that is being used. The error comes back to the 2 'var'
lines.
<script language="javascript" type = "text/javascript">
function switchViews(obj, row)
{
var div = window.opener.document.getElementByID(obj);
var img = window.opener.document.getElementByID('img' + obj);
if(div.style.display == "none")
{
div.style.display = "inline";
|
3/9/2010 4:51:01 AM
|
1
|
=?Utf-8?B?Sm9obkU=?= <Jo...@discussions.microsoft.com>
|
a question about relative paths
Hi all,
I am working on a asp.net website (using vs2k5). I have made a header.html
which I include in all the pages. The header.html contains the code to draw
menus. The menu code has urls for each item in the menus, like lets say
"reports/page1.aspx". My problem is that the valid menus links from one
location do not remain valid for another location. Lets say the page1.aspx
was clicked, now the user is inside the "localhost/reports", and the menu
header may contain something like "page2.aspx" which is not in the "reports"
folder (hence invalid link if the user is inside /report
|
3/9/2010 2:45:29 AM
|
2
|
"Abubakar" <...@tu.ta>
|
nHibernate
This framework looks wonderful but before I even attempt to study it, I thought I would
ask.
Is anyone on this using or has used this framework? Any thoughts on it? What about
scalability?
|
3/8/2010 10:54:15 PM
|
6
|
"Jennifer Mathews" <waltersjenni...@live.com>
|
Easy access to the control specified in a validator's ControlToValidate property
I have a custom validator that inherits from BaseValidator, and I need to be
able to access the control specified by the ControlToValidate property. The
only way I have been able to find to do this is to recursively use the
FindControl method, which can sometimes be inefficient depending on where
the control is located. I'm sure I'm not the first person to want to access
the ControlToValidate control in a custom validator, so does anybody know of
a more efficient way? Thanks.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/
|
3/8/2010 8:23:25 PM
|
0
|
"Nathan Sokalski" <njsokal...@hotmail.com>
|
ms build issue
hi,
we have deployed asp.net 3.5 web application by creating a build , when i
try to access my page (aspx) and submit it, i get the following error
value is null paramater : string,
i have enabled exception in visual studio but dont get to know where the
issue is
we are using wcf layer also
kindly help
|
3/8/2010 3:51:01 PM
|
0
|
=?Utf-8?B?TW9oZCBFYnJhaGlt?= <MohdEbra...@discussions.microsoft.com>
|
Jet Provider for x64
I have developped a Web App (in VS 2008 and C#) that can import data
from an Access database. I have used ADO to connect to the specified
database, using Jet Provider 4.0 for .mdb files and Jet 12.0 for .accdb
files (I have installed AccessDatabaseEngine.exe from MSDN). I have
successfully tested the applicatiojn on a server with WIndows 2003
(32bit) installed, but it does not work on a server with Windows 2003 64bit.
I have read many forums and I have found that Microsoft does not support
the 64bit version of Jet Provider: is it true?
The only solution posted is to compile the a
|
3/8/2010 11:45:14 AM
|
4
|
maz77 <nos...@nospam.com>
|
How to open a website using vb6.0 or vb.net
Good Day,
I'm new to visual basic. I just want to create a program that will check my
desired website every 30 mins. Can someone teach me how. I have a vb6.0 and
vb.net 2003. Thanks much
--
Message posted via http://www.dotnetmonster.com
|
3/8/2010 2:31:47 AM
|
9
|
"shadow-monster via DotNetMonster.com" <u58...@uwe>
|
Web report
We are looking into an option of displaying report online.
What technology or tools to be an option?
- Our backend database will be MySQL.
- I think we will use C#.
- Need to be able to be converted to PDF file for download as a choice by
user
- Is Crystal Report the best option?
Thanks
|
3/8/2010 12:10:27 AM
|
9
|
"Alan T" <alan_NO_SPAM_pl...@yahoo.com.au>
|
MVC2 form validation queston
I have Visual Studio 2008 and MVC2RC. When I created a new MVC2 web
application and looked at account/LogIn.aspx, I see a line under the
username textbox:
<%= Html.Validate(function(m) m.UserName) %>
What exactly does this do? and what exactly is "m"?
|
3/7/2010 6:24:19 PM
|
0
|
"Andy B." <a_bo...@sbcglobal.net>
|
Handling exceptions in WCF
I'm working on a WCF service with a LINQ to SQL back end. I'm trying to
figure out how to handle exceptions in the UI that are thrown by the
OnPropertyChanging event in the dbml.
In my dbml, I have some validation logic:
Namespace MyProject.Data
Partial Public Class User
Private Sub OnBusinessPhoneChanging(ByVal value As String)
If Not Utilities.ValidatePhone(value) Then
Throw New Exception("Invalid Phone number")
End If
End Sub
Private Sub OnEmailChanging(ByVal value As String)
If Not Utilit
|
3/5/2010 2:30:51 PM
|
5
|
"Scott Rymer" <...@work.com>
|
Javascript problem with WebResource.axd
Hi all,
I'm having a problem with my ASP.NET 3.5 Web Application.
In almost every page, it appears a javascript error (yellow icon on bottom
left of the browser - IE8), that tells me:
Messaggio: 'null' is null or is not an object
Line: 289
Character: 9
Code: 0
URI:
http://epmiftsbdo/NBDO/WebResource.axd?d=zofflyeQn0fhSp35COlX3-ax-07NnAe9J7lD5aENT2k1&t=633582875774416624
How can I solve?
Thanks in advance.
Luigi
|
3/5/2010 9:06:01 AM
|
2
|
=?Utf-8?B?THVpZ2k=?= <Lu...@discussions.microsoft.com>
|
SQL connection management in ASP.Net
hi,
I have to create a small website in ASP.Net 2.0. I have question about
working with SQL connections. What are the best practises? How and where to
create and store a connection? I see a few possibilities:
- create, open/close a connection on each web page
- create a connection on login page and store it on Session
- how to create a connection? ie. SqlConnection = new SqlConnection or
System.Data.Common.DbProviderFactory factory =
System.Data.Common.DbProviderFactories.GetFactory("System.Data.SqlClient");
System.Data.Common.DbConnection conn = factory.CreateConnecti
|
3/5/2010 8:45:01 AM
|
2
|
=?Utf-8?B?Q2hyaXM=?= <Ch...@discussions.microsoft.com>
|
Menu control problem in Clicking
Hi
I've created a beautiful menu that are like a tab bar and it has some
title in middle of every cells but i should only click on the text to
redirect to its URL page . I tried to solve it but couldn't !
It is so strange ! Of course i specially want to use asp.net (c# )
control ,no CSS only or no java script ! :)
Please help me !
|
3/5/2010 8:44:51 AM
|
1
|
"miladha...@gmail.com" <miladha...@gmail.com>
|
nested gridview
I am working on nesting a gridview in a gridview and taking it one step at a
time. So far, so good. But now I have hit a snag in filling the nested
gridview. Here is the code that I am using (or trying to use).
protected void gvwChangeRequestList_RowDataBound(object sender,
GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
GridView nested = e.Row.FindControl("gvwChangeRequestChildren");
SqlDataSource dbSrc = new SqlDataSource();
dbSrc.ConnectionString =
ConfigurationManager.ConnectionStri
|
3/5/2010 6:16:01 AM
|
1
|
=?Utf-8?B?Sm9obkU=?= <Jo...@discussions.microsoft.com>
|
Char(1) can't be insert from stored procedure called from C#/ASP.n
Hello
I am trying to insert a char(1) field into a table from an ASP.Net/C#
application.
At first I was inserting rows into the table but none of the columns that I
was inserting the rows into were char(1) columns, they were mostly int and
varchar columns.
Then I found out that there was one column in the list that was not supposed
to be an int column but instead it was supposed to be one of the char(1)
columns into the table.
So I replaced the int column in the list with the char(1) column and since
the value of the char(1) column resulted from a CheckBox ('Y' or '
|
3/4/2010 11:31:01 PM
|
2
|
=?Utf-8?B?SkI=?= <...@discussions.microsoft.com>
|
Please recommend a profiler
The homepage of an asp.net 3.5 website I am working on takes a long
time to load. I mean, really long time. I am interested in profiling
it and see what exactly is draggling it. Please recommend a profiler.
Thank you. I've tried slimTune, but have no idea how to get started
with it. Their examples in the user guide are not helpful, and there
are no articles on the web about it.
|
3/4/2010 9:40:44 PM
|
0
|
niberhate <gnewsgr...@gmail.com>
|
Problem debugging Website
I asked yesterday about how to reference a website project in a Unit
test project. The answer as you guys provided is that it is not
possible.
I have no permission to convert this website project into a web
application project, so I have to live with it.
To add salt to wound, I cannot debug the project. The website is
configured to run from localhost through the IIS on my Vista box. This
makes debugging pretty tricky, my breakpoints are totally ignored.
Searched a little, and tried attaching w3wp to the debugger, no luck,
breakpoints are still being ignored. I am using the RC ve
|
3/4/2010 7:36:28 PM
|
0
|
niberhate <gnewsgr...@gmail.com>
|
datagrid & css
Hi,
I wander if there is a css file where the style of a datagrid can be
modified without using the itemdatabound event
thanx
ton
|
3/4/2010 5:57:59 PM
|
1
|
"ton" <...@nospam.nl>
|
Toggle enter key
I have an asp.net web page with the javascript below at the top of the page.
This works great as a user hitting the <enter> key is not "posted" and
subsitutes the tab key. However, when the user lands on the submit button
(called BtnSave) I want the <enter> key to act as normal. Does anyone know a
way to do this? Thanks.
<script type="text/javascript">
document.onkeydown = doKey;
function doKey(e) {
if (event.keyCode == 13) {
event.keyCode = 9;
return event.keyCode;
}
}
</script>
|
3/4/2010 2:42:05 PM
|
2
|
=?Utf-8?B?RGF2aWRD?= <dlch...@lifetimeinc.com>
|
Membership
I have an application where the admin can create users using
CreateUserWizard. Is there any way I can limit the number of users that the
admin is able to create.
Regards
Chris
|
3/4/2010 8:42:02 AM
|
4
|
"Chris" <sdv...@hotmail.com>
|
document.getElementById(), error in content page content page
Could someone explain: I have a java popup window function that I would
like to pass a querystring ID from a hiddenfield on my asp.net content page.
The following code works. Note: for this test I simply set the hiddefield
var TransID.value = 21 in btnPopUp.click event See Item 1. The thing I
don't understand is why can't I have the function take the TransID as a
parameter. see Item 2.
**************Item 1.****************
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script type="text/javascript" >
function PopUp() {
var InqID
|
3/4/2010 2:31:28 AM
|
3
|
"Dave L" <lapor...@charter.net>
|
How do I reference a Website project
I am working on an existing asp.net website project (not a web
application project). I want to add a unit test project to the
solution, but I don't know how to reference this website project in my
unit test project.
It is easy if it were a web application project because I could select
from the project tab. This website project does not show up in the
project tab. I am talking about the project tab in the Add Reference
dialog box.
Any idea? Thanks.
|
3/3/2010 10:46:02 PM
|
5
|
niberhate <gnewsgr...@gmail.com>
|
How to use the Profile other than default
Hello,
I'm making another attempt to find out how to use a different profile in the
web application. I though it would be quite simple. but couldn't find an
answer anywhere.
All I need to know is how to call "i90ProfileProvider" instead of default
"i90PartnerProfileProvider" in C# or VB.
<profile defaultProvider="i90PartnerProfileProvider">
<providers>
<clear/>
<add name="i90PartnerProfileProvider"
type="System.Web.Profile.SqlProfileProvider"
connectionStringName="i90Partner"/>
<add name="i90ProfileProvider"
type="System.Web.Profile.SqlProfileProvider" conne
|
3/3/2010 7:31:02 PM
|
0
|
"Peter Afonin" <pafo...@hotmail.com>
|
baufinanzierung berechnen , eigenheimzulage 15 , hausfinanzierung im , darlehen baufinanzierung , immobilien kredit versicherung , zuteilung bauspardarlehen , hypothek darlehn ,
baufinanzierung berechnen , eigenheimzulage 15 , hausfinanzierung im ,
darlehen baufinanzierung , immobilien kredit versicherung , zuteilung
bauspardarlehen , hypothek darlehn ,
+
+
+++ GUENSTIGE KREDITE ONLINE +++ KREDITE IM INTERNET OHNE SCHUFA
IMMOBILIEN +++
+
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http://WWW.IMMOBILIEN-KREDIT-ONLINE.NL
http:/
|
3/3/2010 5:37:18 PM
|
0
|
luaisn haus <dragonx...@googlemail.com>
|
asp.net/AJAX samples site
After a Google search I might end up at the asp.net/AJAX samples site which
more often than not has a great sample of what I'm searching for.
But then 'm disappointed that the sample's code is not offered.
Seems strange to me. Is the code there but I'm missing it?
Thanks
|
3/3/2010 4:32:26 PM
|
1
|
" Cal Who" <Cal...@roadrunner.com>
|
need info about web parts
I've been playing with web parts to get familiar with it.
I see that MS provides very few web parts in the tool box. I wonder if there
are web parts available someplace else?
Also I'm wondering if there is a relationship to the widgets I see at
various sites?
Do developers make their own web parts by including the code from a widget
like the one available at:
http://www.time.com/time/rss#widgets
Just looking for some orientation info so I can determine if I have a use
for web parts.
Thanks in advance
|
3/3/2010 4:01:18 PM
|
0
|
" Cal Who" <Cal...@roadrunner.com>
|
how to prevent creating user and showing ''Mailbox unavailable' in case of wrong emailaddress?
Hi,
i use the login control in order to create users. Asp.net generates
automatically a password which is sent to the user by email.
The emailaddress must be like this: firstname.name@ourdomain.be . I can
easely check whether it terminates with @ourdomain.be, but if
'firstname.name' doesn't exist in our Exchange server ('ourdomain.be'),
then:
1) the user is still created
2) the message page with: 'Mailbox unavailable. The server response was:
5.1.1 User unknown' appears
What i want is 1) that the user is not created and 2) that a simple
Alert-box appears instead of the t
|
3/3/2010 1:56:44 PM
|
0
|
"Luc" <df...@sdfsd>
|
Communication with the underlying transaction manager has failed
Hi!
I´ve an appplication which uses transcation in com+ to communicate with an
remote sql server database.
This works fine on my windows 7 x86 "appserver", but on another station
using Windows 7 x64 it fails with the message below. I don´t now if
it has something to do with x86, x64.
When saving to the database I got:
System.Transactions.TransactionManagerCommunicationException was unhandled
by user code
Message="Communication with the underlying transaction manager has failed."
Source="System.Data"
StackTrace:
at
System.Data.Common.DbDataAdapter.UpdatedRowS
|
3/3/2010 10:38:01 AM
|
3
|
=?Utf-8?B?U3RlZmFu?= <Ste...@discussions.microsoft.com>
|
webservices and threads
Hi all,
I have questation about webservices and iis 7,5 on the 2008 R2 server . I
have webservice which called from apl.Apl have 100 threads , but the iis
w3wp process have only 30 threads . Where is trouble ?
thanx
|
3/2/2010 9:42:55 PM
|
5
|
"Marek G." <gro...@volny.cz>
|
What need to change in asp.net if web server update from IIS6 to IIS7?
What need to change in asp.net application if web server update from IIS6 to
IIS7?
Our company just created a new web server using windows 2008 and iis7.
--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/Forums.aspx/asp-net/201003/1
|
3/2/2010 9:14:04 PM
|
1
|
"aspfun via DotNetMonster.com" <u53...@uwe>
|
Keeping track of users LogIn
Hi All,
When I create a credential for users to log in, I can not allow them to log
in more then 2 different computers. Otherwise the user can provide the
Credential for 20 different people and will try hammer the server.
If user A logged in I can update a flag in a table called MemberInfo and
when he/she Logged out I can reset that flag and also have a counter of the
numbers of logins.... Or even can update the time he/she logged in.
a)
Problem is what happens when he closed the browser and did not log out?
b)
If the browser is crashed then there is no way for me to up
|
3/2/2010 6:58:38 PM
|
5
|
"Eric S" <xxx_noS...@Hotmail.com>
|
How to call a JS function on the form loading?
How to call the function validate() on the form loading?
There is a form in which another program will fill some text boxes
automatically.
I need this JS function to test the value of text boxes and give user a alert
if any text box is empty.
<script type="text/javascript">
function validate()
{
var t1 = document.getElementById('<%=txtOrderProduct.ClientID%>');
var t2 = document.getElementById('<%=txtOrderBy.ClientID%>');
if(t1.value == "" && t2.value == "")
{
alert("Empty');
}
}
</script>
--
Message posted via DotNetMonster.com
http://www.dotnetmonste
|
3/2/2010 1:53:25 PM
|
3
|
"aspfun via DotNetMonster.com" <u53...@uwe>
|
Question regarding detecting 404 Not Found
Hi
asp.net 3.5
I see in the statics for mys ite that about 50% of the request are 404 not
found. so I'm setting up a NoSuchPage.aspx which I want the user to be
redirected to when such error occur.
<customErrors mode="RemoteOnly" defaultRedirect="AppErrors.aspx">
<error statusCode="404" redirect="NoSuchPage.aspx"/>
<error statusCode="403" redirect="NoAccessAllowed.aspx"/>
</customErrors>
In the NoSuchPage I want to write to the database which page the user
requested.
I'm unsure about how to get info about that Page. I've tryed
Uri.AbsolutePath, but that only gave
|
3/2/2010 11:55:30 AM
|
2
|
"Jeff" <it_consulta...@hotmail.com.NOSPAM>
|
server timeouts
I have developed an application in ASP.NET/VB.Net using SQL Server as a
backend. It is a fundraisinng/membership management application similar to
CRM.
The system is fast and reliable, except in one condition. When a user leaves
the application and does other work, then returns to load another contact,
instead of an immediate response the server can take up to 25 seconds to
server the data, against 1 second under fulltime or continuous use.
These are example statistics from Fiddler, this is response after a period
of inactivity
Request Count: 1
Bytes Sent:
|
3/2/2010 12:22:01 AM
|
0
|
=?Utf-8?B?VG9ueSBMaW5kc2F5?= <TonyLind...@discussions.microsoft.com>
|
how to make impossible to select content of textbox?
Hi,
i need two textboxes, one for entering and another for confirming an
emailaddress.
What i want is to make impossible to select the emailaddress in the first
textbox in order not to be able to copy it in the second textbox.
I'm sure it's possible to do that asp.net (ajax?), but how?
Thanks
Luc
|
3/1/2010 9:59:33 PM
|
5
|
"Luc" <qc...@qscqs.fr>
|
help for sql select command !!!
Hi Everyone!
Imagine we have 3 checkBoxes in a search page and 3 boolean fields in
DB table and every checkbox is for one of these fields . In search
page users check every 3 checkBoxes and what i want is that first it
shows the records that every their 3 fields are checked then 2 and
then 1(DESC).
BTW my DB is MS Access.
Please help me !
|
3/1/2010 6:17:53 PM
|
3
|
"miladha...@gmail.com" <miladha...@gmail.com>
|
Looking for good hosting deals for my site
Hi
asp.net 3.5
My site take about 3 seconds to load, as a result my site has a drop in
google ranking from 40 to 500 (very competive niche). Google has started
taking site peformance as a factor for ranking.
Today my site is hosted on a shared cluster at the host, because it's shared
the host will not enable compression or browser caching etc
The database is MSSQL 2005, so the eventuel new host must support .NET and
MSSQL 2005
I talked to a support guy at webhuset.no (the host) and they said the next
step would be to host the site on a virtual server. the entry price for th
|
3/1/2010 3:44:49 PM
|
4
|
"Jeff" <it_consulta...@hotmail.com.NOSPAM>
|
Use Javascripts to check value in text box
I am new in Javascripts.
I want to code javascripts to check some text boxes value in code behind form.
(I knew how to use vb to check but in this case, I need JS)
Can someone help me?
For example, I want to use js to check value in txtOrderProduct, txtOrderBy,
if both of text boxes are blank then fire alert function.
--
Message posted via http://www.dotnetmonster.com
|
3/1/2010 2:53:03 PM
|
1
|
"aspfun via DotNetMonster.com" <u53...@uwe>
|
Leverage browser caching
hi
asp.net 3.5
My site gets 84/100 from the Page Speed utililty in FireFox. Google uses
site performance as a factor for ranking. PageSpeed suggest I should do
something with browser caching.:
Page Speed mentions the sites CSS file and google adsense for caching:
for CSS Page Speed says:
The following resources are missing a cache expiration. Resources that do
not specify an expiration may not be cached by browsers. Specify an
expiration at least one month in the future for resources that should be
cached, and an expiration in the past for resources that should not be
|
2/28/2010 3:28:49 PM
|
2
|
"Jeff" <it_consulta...@hotmail.com.NOSPAM>
|
Microsoft newsgroup for Visual Studio 2008 test tools?
Is there a newsgroup for Visual Studio 2008 Test tools?
|
2/28/2010 12:22:32 PM
|
1
|
"Andy B." <a_bo...@sbcglobal.net>
|
How Would you Store this Data?
I'm thinking about building a site that would include user-contributed
articles, file attachments, images, and maybe videos.
I'm trying to determine the best way to store this data. Specifically:
A) What are the pros and cons of storing the file attachments, images, and
videos in a database vs. storing them as separate files?
B) I've decided user-contributed articles should not be submitted as HTML.
I'd have some code to convert newlines to <br /> and otherwise convert the
articles to HTML. I'm thinking about separate database columns for both the
original and the converted
|
2/28/2010 3:18:00 AM
|
8
|
"Jonathan Wood" <jw...@softcircuits.com>
|
How to use multiple profiles
Hello,
I need to retrieve the user data from the different web application. In the
web.config I can specify different profiles, but I cannot figure out how can
I use it in the application. This is what I did:
<profile defaultProvider="i90PartnerProfileProvider">
<providers>
<clear/>
<add name="i90PartnerProfileProvider"
type="System.Web.Profile.SqlProfileProvider"
connectionStringName="i90Partner"/>
<add name="i90ProfileProvider"
type="System.Web.Profile.SqlProfileProvider" connectionStringName="i90"/>
</providers>
<properties>
<group name=
|
2/27/2010 10:36:35 PM
|
2
|
"Peter Afonin" <pet...@gudzon.net>
|
Get GridView row index
I have the code below that runs when a textbox in an ItemTemplate changes. My
problem is that it always updates the 1st row. How can I change the value in
DataKeys to reflect the index of the row I am on?
p.s. I am using AutoPostback and UpdatePanel. Thanks.
Protected Sub txtWeek1Units_TextChanged(ByVal sender As Object, ByVal e
As System.EventArgs)
Dim txBox As TextBox = CType(sender, TextBox)
Dim intTempID As Int32 =
Convert.ToInt32(gvTimesheetEntry.DataKeys(0).Value)
Dim dblUnits As Double = 0
If txBox.Text <> "" Then
dbl
|
2/26/2010 3:36:09 PM
|
9
|
=?Utf-8?B?RGF2aWRD?= <dlch...@lifetimeinc.com>
|
BUY FAKE PASSPORTS OF FRANCE,FAKE FRENCH PASSPORTS FOR SALE! FAKE UNITED STATES(USA) PASSPORTS
Our team is a unique producer of quality fake documents.
We offer only original high-quality fake passports, driver's licenses,
ID cards, stamps and other products for a number of countries like:
USA, Australia, Belgium, Brazil, Canada, Italia, Finland, France,
Germany, Israel, Mexico, Netherlands, South Africa, Spain, United
Kingdom. This list is not full.
To get the additional information and place the order just visit our
website:
http://www.passports4sale.com
>> Contact e-mails:
General support: support@passports4sale.com
Technical support: tech@passports4
|
2/26/2010 1:28:10 PM
|
0
|
John Dawson <t...@sellingpassports.com>
|
ASP.NET App How to convert AVI to WMV
I need to convert AVI files to WMV format in a ASP.NET app.
The App, being hosted on external IIS provider, can't shell any EXE program,
so I'm looking for a DLL library. I didn't find any solution on the web.
Any suggestions?
--
bruno
|
2/26/2010 8:31:01 AM
|
5
|
=?Utf-8?B?YnJ1bm8=?= <br...@community.nospam>
|
Hurry Up, Free Check Of $327 With Your Name.
Hurry Up, Free Check Of $327 With Your Name.
Quickly open below website and click any one of the 4 red color text
links below sponsors in the website and enter your payee name and
address where to get your check.
The secret website link is
http://highpayingkeywordsofadsense.blogspot.com/2010/01/googleyahoomsn-adsense-high-paying.html
|
2/26/2010 7:30:51 AM
|
0
|
all in one <m.12ah...@gmail.com>
|
Web.Extensions 3.5 conflicts with 1.0.61025
I have a Webapp which was developed for framework v2.0/lower, it
references System.Web.Extentions 1.0.61025.0
I installed .net 3.5 on that box and the working webapp starts failing
with the below error:
error CS0433: The type
'System.Web.Script.Services.ScriptMethodAttribute' exists in both 'c:
\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions
\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll' and 'c:
\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions
\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll'
There is no where System.Web.Extensions 3.5 is referenced but the
runtim
|
2/26/2010 2:40:25 AM
|
3
|
Ganesh <ganesh....@gmail.com>
|
GridView loop in js
I would like to loop through all of the controls in a GridView inside form1
and grab the values (innerHTML) of TextBox controls that contain "txtWeek" as
part of the ID name. I need to do it at the client so I was thinking of
Javascript using getElementById but that requires an exact name. Can anyone
help on how to do this and a short example? Thanks.
--
David
|
2/25/2010 10:53:03 PM
|
1
|
=?Utf-8?B?RGF2aWRD?= <dlch...@lifetimeinc.com>
|
ANTIVIRUS FREE DOWNLOAD 8890
Many problems with performance and safety of your computer can be solved
easily with an updated antivirus and recognized. Antivirus Free Download
Microsoft best practices in:
http://yourantivirusfreedownloadonthissite.blogspot.com/
Content Site Links:
http://yourantivirusfreedownloadonthissite.blogspot.com/
http://yourantivirusfreedownloadonthissite.blogspot.com/2010/01/what-is-antivirus.html
http://yourantivirusfreedownloadonthissite.blogspot.com/2010/01/free-download-antivirus-recommended-by.html
http://yourantivirusfreedownloadonthissite.blogspot.com/2010/01/antivirus-o
|
2/25/2010 10:44:02 PM
|
0
|
=?Utf-8?B?YW50aXZpcnVzIGdyYXRpcw==?= <antivirusgra...@discussions.microsoft.com>
|
Covert javascripts to use in code behind form
How to convert a javascripts below to use in code behind form?
<script type="text/javascript">
document.getElementById('Ok').disabled = true;
setTimeout(function(){
document.getElementById('Ok').disabled = false;
}, 15000);
</script>
Convert to:
Dim strJScript As New StringBuilder
strJScript.Append("document.getElementById('" + Ok.ClientID + "').disabled
=true;")
//help to convert below code:
------
setTimeout(function(){
document.getElementById('Ok').disabled = false;
}, 15000);
------
ClientScript.RegisterStartupScript(Me.GetType(), "myCode", strJScript.
|
2/25/2010 4:47:57 PM
|
2
|
"aspfun via DotNetMonster.com" <u53...@uwe>
|
Stored procedure wont insert Fields, RadioButtonLists and CheckBox
Hello Community
I have a CheckBox and a RadioButtonList and fields on an aspx web page form.
I pass the fields on the form to a method that creates the parameters and
executes a stored procedure and the stored procedure is supposed to insert
this information as a row into a table.
For some reason the stored procedure executes but the row does not get
inserted. I can’t see why the row doesn’t get inserted especially since I
put BreakPoints in the code all along the way and I see the values just as
they get passed into the stored procedure but maybe someone looking at this
|
2/25/2010 1:34:01 AM
|
1
|
=?Utf-8?B?SkI=?= <...@discussions.microsoft.com>
|
Access is denied
Hi,
I got an "Access is denied" problem.
I pulled in a web app from Source Safe. Rebuild the solution. Got error:
“Could not load file or assembly ProjectA. … Access is denied”. ProjectA is a
project, whose build is ok.
Then I removed this project. And rebuild the solution. Got error: “Access to
the path ‘C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\tcws\46e5479c\984b4dea\g7egxs4m.res’ is denied”.
I checked the path. There is no such file.
Here I haven't run it yet. I just compiled it.
Any help would be highly appreciated!
Li
|
2/24/2010 8:46:09 PM
|
1
|
=?Utf-8?B?TGkgV2VuZw==?= <wlwlw...@newsgroup.nospam>
|
Accessing Datareader Columns using column names
Hi,
I recently wrote some code and used column names to access values in the
datareader, like ....
string _firstName = myDr["FirstName"].ToString();
My supervisor instructed me to use index instead, like...
string _firstName = myDr.getString(0);
I wouldn't mind using index but whats the big deal? I can't understand why
is one better than the other?
Please help...
|
2/24/2010 5:32:01 PM
|
3
|
=?Utf-8?B?bWF2cmlja18xMDE=?= <mavrick...@discussions.microsoft.com>
|
FileUpload control - page refresh on submit
After choosing a file, when the user finally submits it, the page refreshs after upload.
I have a control that lets users upload an image. It works fine, but the page refreshs
after the upload completes. I'd like the page not to refresh so I can then just put
the image into a <div> in an aesthetic way.
Is there anyway to upload a file without the control refreshing the page on
the upload's completion?.
|
2/24/2010 6:05:14 AM
|
1
|
thomas.tmc <thomas....@none.com>
|
Setting the value of a Master page's control's property using a property of the Master page
I have a Master page that contains a custom property, defined as follows:
Public Property SelectedNavigationID() As String
Get
Return Me.leftnavNavigation.SelectedNavigationID
End Get
Set(ByVal value As String)
Me.leftnavNavigation.SelectedNavigationID = value
End Set
End Property
As you can see, this property is used to set the value of a property of one
of the Master page's Controls. I set the property from the Content page as
follows:
Private Sub Page_PreInit(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.PreInit
Me.Master.SelectedNavig
|
2/23/2010 11:24:25 PM
|
24
|
"Nathan Sokalski" <njsokal...@hotmail.com>
|
IIS 7 , 2008 R2 and SQL 2008
Hi all,
sorry for my bad English . I have questation about impersonatilion . I have
asp.net which remotely connect to SQL 2008 . I want use the credentional
from client which open asp.net page , which connect to sql server:-) . But
after I try it , the login to the sql serveris anonymous , why ????
thanx
marek
|
2/23/2010 9:01:32 PM
|
2
|
"Marek G." <gro...@volny.cz>
|
Problem: Too many response code 404, how to detect them?
hi
asp.net 3.5
Webalizer reports response code 404 about 939 times, that is about 40% of
the requests. But I have problem finding these 404 errors myself. So far I
haven't come accross them myself... So I was looking for a way to detect
them. You know about a link which I could use to validate my site for 404
errors. Or maybe I should create some asp.net code which writes the url to
the database when 404 code is triggered?
any suggestions?
|
2/23/2010 6:37:20 PM
|
5
|
"Jeff" <it_consulta...@hotmail.com.NOSPAM>
|
How to share the connection string?
Hello,
I have one solution containing two c# projects: one project builds a DLL
that is used by the main project (the other project). In the web.config of
the main project I added (in the appSettings section) the connectionString
parameter, that I read to load my connection string (to SQL Server 2005).
However, in the supporting project (the DLL), sometimes I need to connect to
the database too. But I don't have the connection string there, and I don't
want to duplicate it (in some constant inside the DLL). Sure, I can pass the
connectionString each time I call a method/funct
|
2/23/2010 1:40:33 PM
|
4
|
"Ele" <nos...@nospam.com>
|
Extra protection for ASPX pages
When hackers infiltrate a web server they will ussually try to add XSS
script code to the admin ASPX pages to try to take over the administrator's
machine. I was thinking: why doesn't Microsoft add a hash of the ASPX code
to the assembly of the web application to prevent tampering with the ASPX
page?
Legato
|
2/23/2010 5:26:16 AM
|
5
|
"Legato" <try...@domain.invalid>
|
<asp:BoundField> can only bind to properties/fields? Not x.Item["KeyName"]?
Hi,
I try to use
list of XElements,
or
Array of XAttributes
or just list of Dictionary<stiring, string>
as data source to a <asp:GridView>
Then I found out I can not use <asp:BoundField> to simple display them.
Then I use Templated Fields, it works.
<SR:TemplateField HeaderText="Client"
SortExpression="Client">
<ItemTemplate>
<%# ((Dictionary<string,
string>)Container.DataItem)["Client"]%>
</ItemTemplate>
</SR:TemplateField>
I was wonder, all o
|
2/23/2010 2:19:05 AM
|
0
|
"Ryan Liu" <ryanliu...@hotmail.com>
|
Impersonation with SQL Server SSPI
I'm running an application with the following configuration and I get a
"Login Failed for user 'NT Authority\Anonymous Logon'" error when I try to
open a connection to SQL Server. Also, the error only appears when I use the
domain account I use during development. A separate domain account (with
connect-only privileges) works fine.
My domain account can connect using Management Studio
My connection string contains SSPI
Web.config is configured with authentication mode set to windows
Web.config is configured with impersonate set to true
IIS is configured to use Windows Authentic
|
2/23/2010 12:35:01 AM
|
3
|
=?Utf-8?B?SmFzb24gQmFybmV0dA==?= <JasonBarn...@discussions.microsoft.com>
|
Constructor for Attachment causing Sys.Webforms.PageRequestManagerServerErrorException
Okay, this seems odd to me but I've narrowed the source of the above error
down to the following line of code:
Dim att As New Attachment(attachment)
Where attachment is a UNC path.
If I comment that line of code out, the error goes away. Why does this work
on my developement box but not on our test server?
I've tried including the content type to no avail.
Any help with this?
using VS2008 on XP sp3
S
|
2/23/2010 12:26:45 AM
|
2
|
"SAL" <...@nospam.nospam>
|
Catch user's ID in IIS7
Company created a new web server using windows 2008 and IIS7.
In IIS6, I unchecked "Anonymous access" will catch user's login ID.
In IIS7, I made "Anonymous access" disable but got an error below.
401 - Unauthorized: Access is denied due to invalid credentials.
What steps should I take to catch user's login ID?
--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/Forums.aspx/asp-net/201002/1
|
2/22/2010 7:05:50 PM
|
1
|
"aspfun via DotNetMonster.com" <u53...@uwe>
|
Validation Summary isn't working...
I am creating a dynamic form with dynamic regular expression
validators...
RegularExpressionValidator oRV = new RegularExpressionValidator();
oRV.ID = "RV_" + oTB.ID;
oRV.ControlToValidate = oTB.ID;
oRV.ValidationExpression = "^\\d+$";
oRV.Display = ValidatorDisplay.Dynamic;
oRV.ErrorMessage = "Must be numeric.";
oRV.Text = "*";
oRV.ValidationGroup = "AnnualForm";
oRV.ForeColor = System.Drawing.Color.Red;
oRV.EnableClientScript = true;
oRV.EnableViewState = true;
oCell.Controls.Add(oRV);
and trying to use the following ValidationSummary....
<asp:ValidationSumma
|
2/22/2010 3:55:08 PM
|
2
|
Steve Nobody <srm2...@gmail.com>
|
RemoveRowsFromDataTable\DataGrid
I have a datagrid, I populate with a datatable that is created and
populated at runtime, with C# code. I have a clear button on my web
form that I use to clear all the text box controls with. I also used
the code below to clear the rows in the datagrid, but after the form
does a postback the rows, with no data, are displayed again, in the
datagrid. How do I remove the rows from the datagrid?
Thanks
for (int I = 0; I < grdSW.Items.Count; I++)
{
DataGridItem lItem = grdSW.Items[I];
lItem.Cells.Clear();
}
grdS
|
2/22/2010 1:41:31 PM
|
2
|
eg <...@msic.com>
|
window based authentication with members defined in a distribution list.
I want windows based authentication for a particular folder of my web pages.
This page should be accessible to only some of the managers and some other
roles.
I don't want to allow or deny role and persons in web.config.
Rather, is it possible that a distribution list created in active directory
of the domain and linked with web config? The logins that are there in the
distribution list will only be able to view the pages and others will get
error.aspx page.
In this way, the non-technical higher position persons will also be able to
grant and deny access to other members.
|
2/21/2010 6:50:15 PM
|
1
|
"Biranchi Narayan Panda" <biranchi_pa...@hotmail.com>
|
window based authentication with members defined in a distribution list.
I want windows based authentication for a particular folder of my web pages.
This page should be accessible to only some of the managers and some other
roles.
I don't want to allow or deny role and persons in web.config.
Rather, is it possible that a distribution list created in active directory
of the domain and linked with web config? The logins that are there in the
distribution list will only be able to view the pages and others will get
error.aspx page.
In this way, the non-technical higher position persons will also be able to
grant and deny access to other members.
|
2/21/2010 6:49:40 PM
|
0
|
"Biranchi Narayan Panda" <biranchi_pa...@hotmail.com>
|
Handling events from a class in an asp.net page
I have a class called Headline. It is a data object that represents a
Headline (news article) for use on a website. It (the headline object) will
have events linked to it. Some of the events will be something like:
1. Saving - just before the Headline gets sent to the database.
2. Saved - just after the Headline got sent to the database
3. Deleting - just before the Headline gets deleted.
4. Deleted - just after the Headline is deleted.
Just for a few examples. There could be quite a few more, but I am still in
the planning stage right now and haven't come up with all of them yet.
|
2/21/2010 5:16:54 PM
|
0
|
"Andy B." <a_bo...@sbcglobal.net>
|
Using ajax call to fetch multiple results from multiple queries and showing them 1 by 1 as the results comes.
Hello,
I've 20 labels in a 2x10 table on a page. for each label, data comes by
individual queries. (total 20 queries for the page.) and it takes about
30-40 seconds for the page to load, and it's not comfortable for the user to
see blank page. I want that each cell will show loading.gif images. As and
when data comes from query, the images should go visible=false, and the
label should display the values one by one. How do I do this task using
ajax?
Some ASP.NET code example will be helpful for me, as I'm a kind of beginner.
Thanks
|
2/21/2010 3:46:03 PM
|
0
|
"Biranchi Narayan Panda" <biranchi_pa...@hotmail.com>
|
Triggering an event in Windows service every 1 hour.
Hello,
I want to create a windows service that will send a mail to a mailing list
every 1 hour.
How do I program so that the mail event automatically triggers every 1 hour.
(If I use timer and the service starts at odd 12:33, then it will fire event
at 1:33, 2:33... . But, I want it it fires at 12:00, 1:00, 2:00 irrespective
of when it starts.)
How do I do this?
|
2/21/2010 3:43:35 PM
|
3
|
"Biranchi Narayan Panda" <biranchi_pa...@hotmail.com>
|
how asp.net set cookies? (http level)
hi guys. I have question about cookies which asp.net (IIS) send to client.
For example I use this page
https://secure.rpmware.com/User/Login
The headers request and response looks like this
GET /User/Login HTTP/1.1
Host: secure.rpmware.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.0.17)
Gecko/2009122116 Firefox/3.0.17
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru,en-us;q=0.7,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cache-Co
|
2/21/2010 3:00:01 PM
|
1
|
=?Utf-8?B?U3VzaGlTZWFu?= <SushiS...@discussions.microsoft.com>
|
Binding custom objects to dropdown
Hi.
What's the best way to bind collection of custom objects to dropdown. The
problem I have is that entity is identified by two columns in database (to
properties in object) and I would like SelectedValue return both. Was
thinking about adding another property joining two other only for dropdown
(dont' like it) or maybe creating anonymous object with that property only
for binding.
How do You do it?
|
2/21/2010 2:33:36 PM
|
0
|
3P <nos...@serwer.pl>
|
dynamically change contentpage in MasterPage ???
hello.
How can I dynamically change a contentpage of the masterpage?
I have a listbox in the masterpage. Depending on the selected item i
want to show a different contentpage.
I try something like this (masterpage-code)
protected void DropDownList1_SelectedIndexChanged(object sender,
EventArgs e)
{
switch (somethingtoTest)
{
case "1": ContentPlaceHolder1.Page = "Page1.aspx";
break;
case "2": ContentPlaceHolder1.Page = "Page2.aspx";
break;
break;
}
}
But the code is not a
|
2/21/2010 12:27:56 AM
|
3
|
Chris <cmr...@gmail.com>
|
wpf GridSplitter
I am trying to understand the GridSplitter.
If I have the following Grid, it resizes exactly the same whether I have the
GridSplitter or not and regardless of what the ResizeBehavior is.
I thought the "*" and "auto" determined the resizing behavior?
<Grid TextBlock.FontSize="48">
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition Height="250"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="*"/>
|
2/20/2010 5:53:44 PM
|
1
|
"tshad" <...@dslextreme.com>
|
stackpanel and border on bottom
I have stackpanel that includes a border (with nothing in it) that I am
using just for looks.
The StackPanel fills the rest of a DockPanel area where I have other
objects. The bottom of the StackPanel has about 2 inches of space.
I am trying to put the border piece below the TextBlocks and at the bottom
of the StackPanel. So I set the VerticalAlignment="Bottom" but it just puts
the Border object just below the last TextBlock and not at the bottom of the
StackPanel.
Maybe you can't do this with a stack panel but was just curious. I know the
idea of the StackPanel is to s
|
2/20/2010 4:59:02 PM
|
1
|
"tshad" <...@dslextreme.com>
|
marvendas@gmail.com Kit completo de Solenoides ( solenoid ) + chicote Para Cambio automatico 01M hidramatico Audi A3 Vw Golf gti turbo 19017
Contato: marvendas@gmail.com
marvendas @ gmail.com
marvendas no gmail.com
Kit completo de solenoides para Volkswagem e Audi.
O kit contem:
5 solenoides
2 Epc ( solenoides de pressao )
1 Chicote
Serve para qualquer modelo VW ou Audi fabricados de 1995 ate hoje com o cambio automatico de 4 marchas � 01M
Pre�o: R$ 1900.00
Temos outras tipos de solenoides e artigos importados, nao deixe de fazer uma consulta antes de comprar!
Audi a3 automatico
Audi a3 1.8 t automatico
Audi a3 1.8 turbo automatico
VW Golf gti automatico
VW Golf 2.0 automatico
VW Golf 1.8 turbo auto
|
2/20/2010 3:05:33 AM
|
0
|
kit solenoites audi solenoid.chicote<kit.solenoites.a...@solenoid.chicote.com>
|
How to get the value of ID columns from older tables?
Hello Community
I have several SQL Server tables with ID columns (the property of the
columns specify that it "Is Identity Yes").
The tables have many rows but I only want the value of the ID column
from a table when the where clause is satisfied.
These are "not" newly inserted in fact these rows can be very old and deep
within the table.
Can anyone tell me how I can extract the value from an Identity column from
a table?
Thanks
Jeff
|
2/20/2010 12:05:01 AM
|
2
|
=?Utf-8?B?SkI=?= <...@discussions.microsoft.com>
|
invalid parameter when doing FromStream
Hello Everyone,
I have this code below, I keep getting invalid parameter on the line below:
System.Drawing.Image b =
System.Drawing.Image.FromStream(ms);
[WebMethod]
public bool PutImage(byte[] ImgIn, string clipBoardGUID)
{
try
{
System.IO.MemoryStream ms =
new System.IO.MemoryStream(ImgIn);
System.Drawing.Image b =
System.Drawing.Image.FromStream(ms); -----------> right here
string clipBoardDataDirectory = Server.MapPath(".") +
"\\attachments\\" + clipBoardGUID
|
2/19/2010 11:06:01 PM
|
0
|
=?Utf-8?B?Vmlua2k=?= <Vi...@discussions.microsoft.com>
|
Pop-up using Ajax
I have a FormView and ListView inside an UpdatePanel. I use the FormView to
insert records and then DataBind the ListView in Inserted event. I would
like to pop-up a simple alert box based on data inserted. I can get a Label
to populate in this situation but since it constitutes a warning I would like
to pop-up something to get their attention. I have used javascript alerts on
page script but since page does not reload it does not work. Can someone
point me to help on doing this? Thank you.
--
David
|
2/19/2010 10:34:01 PM
|
2
|
=?Utf-8?B?RGF2aWRD?= <dlch...@lifetimeinc.com>
|
Puzzling xsl problem
Hello,
I am trying to understand how these 2 kind of files could be used.
Context: template used to generate crm email from objects
file 1
<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="text" indent="no"/>
<xsl:template match="/data">
<![CDATA[<P>Dear ]]>
<xsl:choose><xsl:when test="contact/fullname"><xsl:value-of
select="contact/fullname" /></xsl:when><xsl:otherwise>Valued
Customer</xsl:otherwise></xsl:choose>
<![CDATA[,</P> <P>We have not heard from you for a while. We wanted to check
in and mak
|
2/19/2010 9:16:37 PM
|
3
|
"CS ADNT" <NOSPA...@NOSPAMaddonnice.com>
|
Select All checkbox using javascript for asp.net page
I want a "Select All" checkbox in my website which will select 15 other
checkboxes.
also, when any of those 15 check boxes is unchecked, the SelectAll checkbox
should also get unchecked. How do I do this using javascript on my asp.net.
A clear example would be helpful.
Please assist.
|
2/19/2010 8:02:29 PM
|
1
|
"Biranchi Narayan Panda" <biranchi_pa...@hotmail.com>
|
Adding more than text to a CheckBoxList
I have a CheckBoxList and I want more than just text in some of the items.
However, because the ListItem, which is used to add the CheckBoxes, does not
allow child controls, I cannot find a way to do this. Any ideas? Thanks.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/
|
2/19/2010 5:38:01 PM
|
2
|
"Nathan Sokalski" <njsokal...@hotmail.com>
|
Seconds from DB to hh:mm:ss in GridView. How to?
Hi,
I have a db table with a column that stores duration in seconds. I need to
present this duration as hh:mm:ss in a gridview. I'm not quite sure where
the int to string conversion should take place. Should I attempt to do that
in a stored proc, business object, or another place?
An example would be very appreciated.
Thanks,
Bogdan
|
2/19/2010 4:15:03 PM
|
0
|
"Bogdan" <bog...@nocompany.com>
|