View Complete Post
Hi all -
I've got a requirement to add a feature that will save off a dynamically created asp.net page so it can be recalled and reviewed at a later date. I was thinking of just adding a 'Save' button to the page and in the code-behind using VB to write the output HTML to a varchar(MAX) field in my database.
Does anyone know how (in VB) to grab the entire page HTML so it can be inserted into a database?
Thanks for any help!
I want to write webservice for Autocomplete textbox in sharepoint webpart.
can you please tell me steps ?
I am facing an issue. I have a datagrid in aspx page. I am binding a
dataset data to this datagrid [simple binding]. It works with out any
issues. However whenever the data contains any Html tags like 'Test Data
With <HTML> tags'
the data in the datagrid cell will show only 'Test Data With <> tags'. The contents inside <> tag will disappear.
My code will look like this.
DataGrid.DataSource = SomeDataSet
I am using C# as the code behind language. Also the data population to the grid is dynamic and depends on the SQL Query used for it. Hence my columns are not predefined. The DataGrid's AutoGeneratedColumns property is True [Number of columns and columns header will change dynamically depending on the query which pulls the data from the DB]
Kindly help with this.
Thanks in advance
I have a web app the manages articles, users can generate articles which we store in the database and also in a folder inside the application in html. We also have the ability to generate real time alerts, to targetted audiences but the list of audiences was cached from an sql query on the web server and at times, the cache was cleared by the server. so i wrote an http module, and the module now runs the query using a timer, and this then wrties the audiences to an xml file within a folder in the same application (same as my html files)
Now the weird thing is im getting the system.io unauthorised access exception, when i try to delete and overwrite the xml file. Yet this doesnt happen when i write the html files.
Now although my users do login, there credentials are maintained via an sql database table, not windows security or the asp.net security model.
Ive checked the folder that we publish our applications up to (its a mapped folder like a virtual directory), and i cannot see the network service or asp.net machine accounts usually used in iis5 or 6. But i dont have the ability to change this anyway. Why would the html file write fine, and the xml file throw this error.
I also changed my code to used HttpRuntime.AppDom
I am creating a page which contains one grid showing the content from a very slow data source. There are other faster contents to be displayed too.
I know I can use jquery to dynamically generate the html code from a dedicated controller for the slow data source.
However, it's not intuitive to read the jquery code for the grid. is there any better way?
I am new to Asp.net MVC 2. I am unable to get value for Html.TextBoxFor(m = > m.name) in view. I can get this value in Controller.
How to get this value in view.
When inserting a simple embed of youtube inside the ajax editor, on firefox and chrome problems occur. On the other hand on internet explorer 8 everything works fine. I found this solution http://www.nopcommerce.com/boards/t/4228/bug-in-ajax-html-editor.aspx .
My question is where do I find the DesignPanel.pre.js ?
I have an HTML <div> container that I float to the right of a gridview. When the browser window is maximized, it looks fine. When minimized, the gridview positions below the floating container and most of the data is pushed off the bottom of the browser - you have to scroll down to see it.
If I position the floating container above the gridview it looks fine in a minimized window, but looks real bad when maximized.
I can capture the onresize event and display the window dimensions but haven't figured-out how to do it with a Content page that still uses the Master page. I think I'm having a very "thick" week...
I am having an html img tag in which the user is being shown images. However I now want to open a url when the user clicks my img. What do I need to do to be able to achieve this?