|
raghvendrapanda wrote: I am creating an windows application in which i am trying to replace a charater with an image.
In a Microsoft Word-document. There's various formats of that file-specification, meaning that you'd have to specify which version of Word you're going to target.
In general, you'd open the file (VSTO might be useful there), find your tag and replace it. As a side-remark, the signature wouldn't be valid here - a picture can easily be copied, and it's not equal to a paper-signature.
I are Troll
|
|
|
|
|
I am getting "Microsoft JScript runtime error: Object required" on "CallServerMethod".
display() function is called on onblur event of TextBox.
function display() {
var context = new Object();
CallServerMethod(document.getElementById("ctlLogin").value, context);
}
|
|
|
|
|
The problem is due to the accessing an object before its fully loaded.
For jQuery, try using
$(document).ready(function(){--- jQuery functions go here ----});
Please let me know, if you still face the problem.
Regards,
Vengat P
|
|
|
|
|
Sir,
I am working on an e-commerce project using ASP.Net and C#.Net (Visual Studio 2005-Windows XP).
I am facing problems in the login module. I created the login accounts using the roles and users in the ASP.Net Website Administration Tool. The login module is working fine when I test the website within the Visual Studio. I mean the login form is working properly under the Development Server integrated in the Visual Studio. What I want is to make this work properly under IIS (i.e. the Production Server). When I deployed the project to the IIS, the login form with the login control is displayed, but cannot login and gives a login failed message. I posted this problem in few forums along with the source code of the login module only. But nobody cared in downloading my source code. I have searched about this issue in Google and they are providing good tutorial links to solve this issue. Even after reading those I couldn’t solve this as I am new to Web Development. I need help from experts on this. Can you please provide me a sample source code with the web.config and also a description of the major steps in configuring IIS to support the role based login?
I had gone through the following titles under google
"Always set the "applicationName" property when configuring ASP.NET 2.0 Membership and other Providers"
I would like you to see the following link which I tried. I think this will help you to help me.
http://www.asp.net/hosting/tutorials/users-and-roles-on-the-production-website-vb
Thanks in Advance.
|
|
|
|
|
Have you deployed the app_code directory to your production environment? This is where the membership datebase is stored.
Alternatively you can create the database in SqlServer like this:
http://msdn.microsoft.com/en-us/library/x28wfk74.aspx[^]
Which will let you store users in a proper database. If you go down this route make sure you change your web.config to point to the external DB.
|
|
|
|
|
I don't have an app_code directory in the production environment. But I have an App_Data directory in the production environment. What to do?
modified on Thursday, July 8, 2010 12:23 PM
|
|
|
|
|
Sorry Gjm, my mistake. Put the app_data directory into your production environment.
|
|
|
|
|
Dear all,
I am doing a application that can allow user to upload their file to server. I am using FileUpload control to do it. Now ,i would like to do regular expression for chinese charater. That mean i can upload file with name like '大道.JPG'.How can i do it?
any tips are welcome.
regards
cocoonwls
|
|
|
|
|
Hi all
i need to develop a web application using Telerik controls. One of the application tasks is to send emails to facebook friends and i need to add it as a facebook applciations section so users can add it from thie face book accounts.
I have been googling and i found some articles related to developing .net web applicatons using the toolkit.
Is this applicable also using third party tools??
Any help or suggestions??
|
|
|
|
|
My new application needs export records from gridview to Excel file, which I have done already. But when I tried editing the same excel file, it saves a new folder and css stylings in excel to the new folder.
I need to import the exported excel file with some changes in data to the application.
But I found that, while saving for export it saves as web compatible excel file. I want to save the file as plain excel file, like the one Microsft Report Control exports.
Any help and suggestions would be appreciated.
Thanks,
CodingRocks
CodingRocks
ASP.NET,C#.NET Programmer
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
Hello,
I have been using regular ASP.NET Web Services for a long time, and now I realize that, WCF is replacing the old ASP.NET Web Services. Fine, I wanted to learn WCF, but now, I see, i have bunch of choices about services like,
WCF Service,
RIA Service,
WCF Data Service,
ADO.NET Data Service
Domain Service Class
AJAX Enabled WCF Service
and also the regular Web Service
So, which service learning is of worth investment of time ?
modified on Thursday, July 8, 2010 5:59 AM
|
|
|
|
|
there links will help you
http://www.asp.net/ajax/tutorials/understanding-asp-net-ajax-web-services[^]
WCF
http://msdn.microsoft.com/en-us/library/ms731082.aspx
http://msdn.microsoft.com/en-us/library/ms730846.aspx
http://msdn.microsoft.com/en-us/library/ms732098.aspx
http://msdn.microsoft.com/en-us/library/cc295302.aspx
http://msdn.microsoft.com/en-us/library/ms733103.aspx
http://msdn.microsoft.com/en-us/library/system.servicemodel.aspx
http://msdn.microsoft.com/en-us/library/ms751450.aspx
http://msdn.microsoft.com/en-us/library/ms751423.aspx
http://msdn.microsoft.com/en-us/library/ms751519.aspx
http://msdn.microsoft.com/en-us/library/ms734712.aspx
http://msdn.microsoft.com/en-us/library/ms751514.aspx
http://msdn.microsoft.com/en-us/library/ms733128.aspx
Raju.M
|
|
|
|
|
Hai every one,
I developed a Web service application in visual studio 2008. For deploying it to web, i am running the application directly using the visual studio run button. Now i want to deploy the web service (.asmx) using some command line arguments (just like running a normal console application or a form application). Thus, deploying the web service without the use of Visual studio.
Can any body provide some articles regarding this, because i haven't find suitable articles in Google (most of them are confusing).
Thanking you,
Kind Regards,
Vijay
|
|
|
|
|
|
I'm using Visual Studio 2010 (.NET 3.5), which still has .NET 4.0 installed because I had to uninstall Visual Studio 2010.
When I'm loading this code within Visual Studio 2008, an error is being displayed that seems to be triggered by:
web.config
...
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></controls></pages>
<httpHandlers>
...
Errors:
1. Warning 1 C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\CalendarTest.aspx: ASP.NET runtime error: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. (C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\web.config line 28) C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\CalendarTest.aspx 1 1 C:\...\RichControls\
2. Warning 2 The 'targetFramework' attribute is not declared. C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\Web.config 28 29 C:\...\RichControls\
3. Warning 3 The 'controlRenderingCompatibilityVersion' attribute is not declared. C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\Web.config 52 10 C:\...\RichControls\
4. Warning 4 The 'clientIDMode' attribute is not declared. C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\Web.config 52 53 C:\...\RichControls\
5. Error 5 Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\Web.config 28
Command line
C:\Program Files\Microsoft Visual Studio 9.0\VC>aspnet_regiis -lv
1.1.4322.0 Valid C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\asp
net_isapi.dll
2.0.50727.0 Valid (Root) c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\as
pnet_isapi.dll
4.0.30319.0 Valid C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\as
pnet_isapi.dll
Jon
modified on Thursday, July 8, 2010 4:45 AM
|
|
|
|
|
Hi,
I want to show some more information in the LoginName control instead of just the user name. For example, i may want to show the email address or full name in LoginName control. So, I wanted to extend the control and create a new one. But, I dont understand how to retrieve the value of the login name in the code, there is no property such as 'Value'. The only property is closed to the desired one is 'FormatString', but cant understand how to get the value. Can you please give me a guideline.
Regards.
|
|
|
|
|
Hello! It isn't difficult to do. You drag Login Control into your page. Click on SmartTag and then choose "Convert to Template". You should get the following html code:
<br />
<asp:Login ID="Login1" runat="server"><br />
<LayoutTemplate><br />
<table border="0" cellpadding="1" cellspacing="0" <br />
style="border-collapse:collapse;"><br />
<tr><br />
<td><br />
<table border="0" cellpadding="0"><br />
<tr><br />
<td align="center" colspan="2"><br />
Log In</td><br />
</tr><br />
<tr><br />
<td align="right"><br />
<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name:</asp:Label><br />
</td><br />
<td><br />
<asp:TextBox ID="UserName" runat="server"></asp:TextBox><br />
<asp:RequiredFieldValidator ID="UserNameRequired" runat="server" <br />
ControlToValidate="UserName" ErrorMessage="User Name is required." <br />
ToolTip="User Name is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator><br />
</td><br />
</tr><br />
<tr><br />
<td align="right"><br />
<asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label><br />
</td><br />
<td><br />
<asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox><br />
<asp:RequiredFieldValidator ID="PasswordRequired" runat="server" <br />
ControlToValidate="Password" ErrorMessage="Password is required." <br />
ToolTip="Password is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator><br />
</td><br />
</tr><br />
<tr><br />
<td colspan="2"><br />
<asp:CheckBox ID="RememberMe" runat="server" Text="Remember me next time." /><br />
</td><br />
</tr><br />
<tr><br />
<td align="center" colspan="2" style="color:Red;"><br />
<asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal><br />
</td><br />
</tr><br />
<tr><br />
<td align="right" colspan="2"><br />
<asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Log In" <br />
ValidationGroup="Login1" /><br />
</td><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
</table><br />
</LayoutTemplate><br />
</asp:Login><br />
|
|
|
|
|
Thanks, actually I did not mean the Login Control, rather, I meant the LoginName control. But anyway, I have solved the problem by developing a new custom control from scratch.
Regards,
|
|
|
|
|
In my crystal report I have a formula field which shows the percentage based upon the the item amount and total amount. If we name it as a "percent" field. I need the some of this "formula field" "percent" in the report footer. When I try to sum this, it is giving me error as "This field cannot be summarized". How can I add the above montioned field to my report footer.
Can anybody please help me in doing that.
Thanks in advance.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
I'm not familiar with CR, but I'm imagining it can't sum the field because it's formatted? How about adding an invisible duplicate of that field without formatting, would that help?
I are Troll
|
|
|
|
|
I have resolved it by adding a shared varibale in the "percent" formula in such a way that in each iteration it keeps on adding then show percent in percent column and shared variable in the percentTotal column.
Thanks for the help. But I am struckup with another question below. Please can anybody answer that. Atleast any query anything is help full.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
Hi,
I have just learned ASP.NET Form Authentication where I found that, if the user is not logged in, he/she will be redirected to the Login page by IIS with HTTP Status code 302. Obviously search engine bots will be redirected to the login page with 302 code. So, will Googlebot consider my website full of duplicated contents because of this 302 redirects ? As I cannot override the status code from 302 to 301 for search engines. Form authentication is very common for ASP.NET Developers. So, if my fear is true, then it will sound like, "all asp.net websites are not search engine friendly" !!! Woould anyone please guide me what I can do about it ? Or if there is any reason to fear at all ?
|
|
|
|
|
Emran Hussain wrote: So, will Googlebot consider my website full of duplicated contents because of this 302 redirects ?
Nah, it kinda recognizes redirects and AFAIK you don't get penalized for it.
Go here[^] and download their guide
I are Troll
|
|
|
|
|
You can put the NOINDEX meta tag on your page to prevent indexing the content.
<META NAME="ROBOTS" CONTENT="NOINDEX">
Without it, I'm afraid Google will be indexing your login page.
Returning 301/302 status doesn't really bother google with regards to page rank, a 301 will only prevent google from spidering your original links in future.
|
|
|
|
|
I am Getting the error like "sys.webforms.pagerequestmanagerparsererrorexception"
Please help me.
|
|
|
|