Web Forms :: How To Require A Source Code For Viewing The Preview
Feb 9, 2010I want to require a source code for viewing the preview
View 6 RepliesI want to require a source code for viewing the preview
View 6 Repliesi am trying to find a way by using it i could hide my web page scripts and source code to be viewed by other and for safe keeping
is it possible or not?
can we applying some kind of encoding using IIS along with ASP .Net on pages that would decode when the page is posted back to server ?
Is the VSS 2005 the newest version? (As far as I've seem it seems like it is...)
Is this version compatible with VisualStudio 2005 and 2008? (it seems like it is...)
I've found some pages where they say really bad things about source safe, like VSS corrupts often and running "analyze" is recommended once a week....., check this one:
http://www.highprogrammer.com/alan/windev/sourcesafe.html or this one:
http://www.codinghorror.com/blog/2006/08/source-control-anything-but-sourcesafe.html. Should I use VSS or something else like SVN (Subversion)?
Does VSS require a separate license? I mean, for the VSS server or repository.
how to preview a filled web form before submitting finally to database?
View 4 Replieshow to make my source code to display on one line instead of multiple in source view. The display drives me batty when I'm trying to find something and I would prefer to display across the page instead of multiple lines down the page.
View 2 Repliesasp.net open source Lead management system with source code.
View 9 RepliesI want to call a function present in code behind from front page (html : source code)
i want to use like this:
Source code
<a href='<%# linkAlpha("B").ToString()) %>' title="B" id="B_List" runat = "server">B</a>
Code Behind
protected string linkAlpha(string value)
{
// /market-research/<%#Eval("customname")%>/
string str = "";
if (Request.Url.DnsSafeHost == "localhost")
{ // /market-reports/<%# Eval("customname")%>/
str = "Alpha_Category.aspx?q=" + value.ToString().Trim();
// Response.Redirect("Alpha_Category.aspx?q=" + value.ToString().Trim());
}
else
{
// str = "/market-reports/" + value.ToString().Trim() + "/";
str = "/Alpha_Category.aspx?q=" + value.ToString().Trim();
}
return str;
}
I will have my asp.net site on a shared hoster. Whats the best way to prevent others hacking and viewing my code? The code I most want to secure is in usercontrols and some more code is in class modules. vb.net/MSVS2005/Ajax) Or do I secure the whole site? I also here some encypting code tools cant handle sophisticted code. Also does encryption slow down code and make the site harder to manage...
View 4 RepliesHere is what im trying to do I want to, from my c# code-behind, get the code between 2 <asp:Content> tags that are located in one of my .apsx pages.
View 8 RepliesI want to add some vb code within the html, or the source part of the page witjin visual studio here is my attempt but it doesnt seem to work, none of the requested parts appear.
[Code]....
we try to disable a server control at code behand, say:
[Code]....
and obviously the above html/xhtml is not W3C compliance, it always compplians disabled is not a valid attribute. I am pretty sure there are heaps of ppl who would like to develop w3c complianced web application suffer this issue.I was searching on internet without any luck, could someone in here shed me a light or Will Microsoft do sth about it in the near future.
provide me any source code of social networking sites in .net....
for my project........
or related source code such as orkut, face book, hi5 etc..
I need to display c#, vb.net or any source code on a web page. The source code that will be displayed should indented, colored as we see in any IDE. I am not sure how would i achieve this. Is there any in-built control available in asp.net that i can use to display the code or can someone tell me how can i achieve this.
View 3 Replieshow can i search on my web page a specific string in source code ?
View 5 Repliescan every body send me project or code of content management system built in asp.netlease send me project or link for free download with source code
View 1 RepliesI am creating a web application that allows a user to download a csv file of a gridview. However, after looking at tutorials online such as http://www.aspsnippets.com/Articles/Export-GridView-To-Word-Excel-PDF-CSV-Formats-in-ASP.Net.aspxand such, I successfully got the table I wanted but there are HTML content appended to the table as well.There was also a similar problem being brought up on the forum,http://forums.asp.net/p/1528174/3692826.aspx. The solutions didn't help me much though. However, I am not really sure how Handlers can benefit this. Furthermore, I don't want the user to be navigated to a blank page just to download the csv file. I tried to debug and insert removal code to remove the html code before the response object is being wrote out but seems even at the end of the writing method, the response object seems to be holding just the table content only.
View 4 RepliesI have successfully been able to parse HTML from a website:
TestParser parser = new TestParser [URL]
List<Pairing> pairings = parser.ParsePairings();
DBSave.SavePairings(pairings, userID);
----------
This works. Now I have to submit a form via C# code.... DONE. It works. And my C# code saves the "new" HTML to a string variable called "submitParsedHTML". My question is: how to I change out the URL, to go through the string variable instead? I am thinking about doing this: When the user clicks the button to "Post" to the form and the app grabs the HTML. The app logs into my FTP account and saves the HTML as a seperate (temporary) file to be used on the internet [URL] Then the app can then parse the HTML as if it was a normal HTML document and not have to go through formatting the text to an HTML document. What do you all think?
'm looking for an ASP .net discussion forum widget:I have read somehwere that the ASP .net forum implementation is avialable, but haven't been able to find it :-(.I have found yet another forum, but is GPL licensed, that means... not usable for a commercial product without publishing the source code.JitBits looks good, di you have any experience with this product?On the other hand my client is VB .net based, all the forums implementations I have found are C# based, will that mean that I have to create a subsite?
View 3 RepliesI want to add an article directory to my site that allows visitors to submit their articles. Is there any open source code out there for this or is there anything similar?
View 3 Repliesdoes anyone know where I can get source code or tutorial in vb on how to create inline edit a gridview I need it for an admin panel Im creating
View 2 RepliesI have some code running behind - in example adding rows to the datable in loop.
I have button which execute this procedure. Now I want to add textbox(?) or literal as well on my page.
After each row which is added to the datable I want to write it in textbox/literal but without stopping the process.
Something like that:
1. User press the button.
2. In textbox we have:
-- Connecting ...
-- Connected!
-- Executing the code ...
-- 1 row has been added.
-- 1 row has been added.
-- End of adding rows.
How can I do this?
Web service error response (code/message etc) would you store it in a database? or would you keep the error response in a method.By the time I'm done with this, there will be hundreds of error response, maybe in the future, thousands? (I dont know yet, depends how large this web service grows).EDIT: error response is the response returned back to the application via the web service, (not to be confused with error logging).
View 1 Repliesany ERP in asp.net with source code.i need to customize it .
View 1 RepliesI know I can load the symbols for the class but i can't get it to work. I tried everything so i give up.
I only need the code for this class. It's because i am using a custom script manager and i must know how the .net one works.
Out of all the projects that contribute to MVC, I've added only the System.Web.Mvc project to my solution and I'm having trouble with the compilation of the aspx files. Firstly the page compiler complained that ViewResult<T> (which my View inherits from) was specified in two assemblies - the copy in the source code and the one in the GAC. I fixed this by changing my copy of the source code to a higher version and referencing the different verison within the 'compilation' tag in web.config. (In fact you can just delete the assembley reference altogether and it automatically uses the one in the solution.) Then it complained that Html helper methods couldn't find classes such as 'Controller'. Now I think this is because the official MVC assemblies in the GAC are looking for the correct version of 'System.Web.Mvc' (i.e. the one with the right public key) but my app is no longer referencing it.
I thought I'd fixed this with an assembley redirect to my version of the code but now the View templates are complaining about inheriting from classes that are in an assembley with the wrong public key.So is what I'm doing possible or do I need to be recompiling all of the MVC source code?