i have to give the user the option to upload his own aspx and aspx.cs files on to the server, adjust the hyperlink to point to a page which would do the following display the aspx and aspx.cs files code onto the page without actually rendering the code the browser should not understand anything, and while reading the files to display them the method be such that nothing is processed on the server regarding the code within the files to prevent from unnecessary problems many user would try to cause.
i have tried many ways of displaying it but it ends up on displaying the actual comments instead of the code. how to achieve the above. note main concentration is on asp.net and c# using vs08, so j script and ready-made tools be avoided if feasible
I am using FTB on my aspx page. is there any way I can have Toggle Full screen feature in FTB, is this feature availble in FTB? it is available on TinyMCE, but I don't want to switch to TinyMCE since I am already using FTB in most of the pages in my application.
I am trying to build a site that will display a word ("Synset" in my code) from a "function call", (ultimately the word will come from another database but I'm ignoring that part for now). The user will click one of 4 radio buttons deciding if the word is "positive", "negative", "neutral", or "can not be determined". Then the user clicks "Save" the word is saved a MS SQL database, the function is called displaying a new word and the process is repeated.
So far I have been able to get this to mostly work by using the code below. The problem is that the function is called and the correct word displayed when the page loads the first time, when I click a radio button and then the "Submit" button, the word and value from the radio button are saved to the database but then no new word is displayed. The text just disappears. The new word is created, as I can see that new words are saved to the database when i click submit.
I'm thinking the issue might be because I'm binding the text attribute of the label I'm using to display the word to the sqldatasource, because it's probably trying to display the text from the database?
I've tried putting the code that gets and displays the new word in FormView1_PageIndexChanging() and submitButton_Click() and neither work.
I've tried to just call Response.Redirect("Default.aspx") in submitButton_Click() and this displays the word but nothing is saved to the database.
i have the following function in default.aspx.....i have webusercontrol which have 10 checkboxes and 1 button .... i want when i click on button1 of user control then it can access the function of default.aspx ...page ...if i dragged the usercontrol to default.aspx
Normally if i use 10 checkboxes and 1 button in default.aspx then it works fine ... if i use 10checkboxes and 1button in usercontrol then drag that usercontrol in default.aspx then it will not work ..
I would like to take a value from a text box and pass it as a search parameter to my database. I get the value from my code behind page as follows: protected void btn_click(Object sender, ImageClickEventArgs e)
I Want to apply the text editor in my aspx page . i search some open source editor .but there is not provioded sufficient information how to implement..if any text editor in open source plz suggest me which is easy to use .. and provide me full information for installation
For example, I have master page MyMasterPage.aspx and content page MyDefault.aspx. I have many UpdatePanels at MyMaterPage.aspx, and also I have many UpdatePanels at MyDefault.aspx.
when i execute it using local port auto-asign port, the aspx page shows ok on the internet explorer.
when i run the same project from the IIS (Browsing the aspx page from the iis), only the controls text is displays without the controls (colors and menus .. ) - although the source view shows that the tags exists.
I have a C# project in Visual Studio that produces an aspx page. The code I am editing is in default.asp.cs. When I build the project a file default.aspx is produced. This file looks something like this:
When I make my web request most of this page comes back. But I want the page to return only plain text and not any of this HTML. How do I configure things so that nothing is returned except what I add via Response.Write calls in default.aspx.cs?
i am working with search page .. when i click the search button it will show some result like google.. when i click url it will show some personal information. But my problem is i will store data in line line by format. like our forms . but it will display only one single line as page width.. how can i store data in database like that and how can i get that data like to display what i am putting in textbox like this forms