Hello everybody.
I am building an ASP.NET custom server control.
I have implemented both the IPostBackDataHandler and IPostBackEventHandler.
OnPreRender I have registered the postback logic:
protected override void OnPreRender(EventArgs e)
{
base.OnPreRender(e);
if (Page != null)
{
Page.Reg...
I have a gridview I bound a DataTable with that Gridview Its dynamic so no hardcode Text in desin.
I tried to change it after Databound and in PreRender of gridview but no Success.
Actually there are Underscores('_') in text and I want to Replace it with space.
Below is code
<asp:GridView ID="grdSearchResult" runat="server" AutoGener...
Hi, I am trying to manage ROLES in ASP.NET using ROLES MEMBERSHIP PROVIDER.
I designed a GridView to manage EDIT for ROLES.
I am not able to update the data when inserted in a TextBox. Belove the code for the event.
Could you tell me what I am doing wrong, or maybe send me some good tutorials specifically for MEMBERSHIP? Thanks
prote...
Hi,
I need to export data into a word doc using ".dot" models, with an application written in asp.net.
Can you give me some links to learn this trick? I'm sure is it possible without any external libraries.
Thanks to the universal knowledge ;-)
...
How can I convert HTML to Word Document in ASP.NET? Please tell me a free tool.
...
Is there any way to get an updateprogress to entirely cover an updatepanel ?
(Asp.net .net 4)
...
hi,
I have a Tariffs table for international dialing Codes
with StartDate and EndDate
I'm using ASP.net Application to import excel offers to this table , Each offer contain about 10000 row, so it is a large table (about 3 millions row)
what is the faster scenario in SQL Server 2008 to create a stored-procedure or trigger to change the...
I am adding headers to a page as follows:
Page.Response.AddHeader("foo", "bar");
Depending upon previous processing, sometimes this fails with "Server cannot append header after HTTP headers have been sent." I am dealing with this by enclosing Page.Response.AddHeader("foo", "bar"); within a try-catch construct. However, to keep things...
Am using ASP.NET membership authentication in a small website and i just noticed some thing funny during testing. Am trying to enable user to change their login password any time they wish, i dragged a change password control to the form, i changed the password for my test account, but now all passwords are still working.
I can login w...
Hi
I managed to run Microsoft Office Word 2007 and programmatically manipulate doc files in ASP using the Microsoft.Office.Interop.Word .Net Component. I used the tutorial found at here The question is: Was the Word application run on the server side or on the client? I was only able to test this on my own computer in debug mode so it's...
Using Entity Framework with MVC2, I have a series of date textboxes, that I want to display data from the model in a short date format, but I have to use Html.TextBoxFor in order for the update code to work (Having tried using HTML.Textbox the data never gets saved to the model).
<%: Html.TextBoxFor(model => model.Item.Date, String.For...
I had :ModalPopupExtender which display when user didnot register .And when user login it didnot display but some browsers as firefox or safarie :ModalPopupExtender apear and hiden .I tried to add :ModalPopupExtender in updatepanel but i didnot so please how can I do to solve this issue.
protected void Page_Load(object sender, Event...
Is it possible to debug the init event from a http module? If I set breakpoints, they don't get triggered.
...
I have a large ASP.NET page with many TextBoxes and Validators
The problem is that when I click on a button, I want to fire the validation for certain TextBoxes (but not all of them). And when I click on another button, I want to fire all of the validators.
...
Hi all
I have an old project that used an old Ajax control toolkit version
we need to upgrade the project to framework 3.5 and Ajax version 3
we have a class that used the old AjaxControlToolkit.BlockingScripts class, but this class is missing in the new ajax version
what can be the replacement for this class ?
thanks
...
I have a site who's search ranking has plumetted. It should be quite SEO friendly because its built using XHtml/CSS and has been run against the SEO toolkit.
The only thing I can think that may be annoying Google is
The keywords are the same accross the whole site rather than being page specific. (cant see why this would be a massive ...
Hi,
I have datagrid with paging enabled that can have 10 rows per page. Also I have DataTable with 16 rows. I want to fill the datagrid dynamically with 'for' loop to go over all the DataTable and fill the DataGrid.
I understand that there is a problem when the counter will hit row 11. Do I need to change the page of the datagrid when ...
Hi!
I'm writing a custom .NET MembershipProvider (not the built in one) and trying to update using Entity Framework. But of course i have no access to (Try)UpdateModel. How can i update it? Thanks in advance.
...
Why does the recent ASP.NET security vurnerability specify an html error page to redirect to pre ASP.NET 3.5 SP1 but an aspx page for later versions?
...
i want to install firebug on IE.can you give me the links for free download of firebug
...