Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
T

tonymathewt

@tonymathewt
About
Posts
95
Topics
40
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Forms authentication not securing files(other than web pages) in .net 1.1
    T tonymathewt

    This thread has helped me fix it. http://stackoverflow.com/questions/272447/net-forms-authentication-how-to-limit-access-to-resources-like-pdf-files-to-aut[^]

    ASP.NET csharp asp-net security help

  • Emails are going to spam folder
    T tonymathewt

    It is your application that's sending mail rather than someone composing it from mail portals like Yahoo mail or Google mail. Spammmers too work the same way like your application. So it will be seen as spam by your spam filter.

    ASP.NET question

  • Forms authentication not securing files(other than web pages) in .net 1.1
    T tonymathewt

    I am working on a web application done in ASP.NET 1.1. The issue I face is I am not able to protect the .pdf files using forms authentication. Though the requests to .aspx web pages are redirected to the login page. the pdf files are getting opened in the browser(which does not happen in 2.0/3.5 versions). Another issue I ve observed is that none of the Global.asax events are getting fired during such a request.

    ASP.NET csharp asp-net security help

  • Using Ajax services for grid editing/inserting
    T tonymathewt

    I am binding a grid with edit/Update templates. On edit/update/insert events there are many text boxes, dropdowns and other grids(data-bound) that gets populated. So the area that's spanned by the update panel is quite vast in the page. That must be the reason for the slow down in page rendering. Could you lead me with some link to any articles or blogs for better alternatives? I have heard about Ajax Services ASP.Net 3.5 and gone through the below link: http://www.codegod.de/webappcodegod/GridView-Javascript-Click-Row-and-Ajax-AID302.aspx[^] It shows how to populate some text boxes on a grid's row click(client-side). But I am confused about other(than textboxes) controls like grids and drop downs. Is it possible to use both these approaches together ie the grid alone will be kept in an update panel and while editing the use the ajax service approach to populate the controls including other grids and drop downs and while inserting/updating read the values from the controls?

    ASP.NET wpf csharp javascript css asp-net

  • Why page is slow?
    T tonymathewt

    Abhishek, I need to reduce DataBase hits that's why I am keeeping the DataSet in Session variable.

    Abhishek Sur wrote:

    Remove viewState by using EnableViewState ="false" if you are not using it.

    Do you mean to set this property for each control?

    ASP.NET announcement javascript html css sysadmin

  • Why page is slow?
    T tonymathewt

    Thank you Christian I am actually updating the dataset to the Data base before removing (trying to reduce the Database hits). Updates are done directly on this dataset and then used for adaptor.update(). The dataset is kept in a session variable b/w postbacks. Do you find anything wrong with this approach?

    ASP.NET announcement javascript html css sysadmin

  • Why page is slow?
    T tonymathewt

    I have created a page that stores a DataSet in a session variable and remove the session variable once the user navigates away from it. There are about 5 grids each with about 4 columns and 3-4 rows and two Developer Express comboboxes which I could see from the view source writing a lot of scripts. I have them all put inside an update panel. The problem is the page is taking too much time b/w postbacks(async). The yslow shows the following in F grade: -Make Fewer HTTP requests -Use a content Delivery Network -Add Expires headers -Minify Javascript and CSS -Configure entity tags. These two D grades: -Minify Javascript and CSS -Configure entity tags. This one in E grade: -Reduce the number of DOM elements. My browser is IE 7. To my surprise the page is pretty faster in the latest version of FireFox.

    ASP.NET announcement javascript html css sysadmin

  • Persist a dataset across postbacks
    T tonymathewt

    Thank you Abhishek You re right. But here I am faced with a situation to reduce database hits rather than concurrency. I am having multiple tables so using DataSet. When I stored it in a ViewState variable I notice the page loading slower.

    ASP.NET database question

  • Persist a dataset across postbacks
    T tonymathewt

    I am using ViewState now but I notice the page is slower during reloads

    ASP.NET database question

  • Persist a dataset across postbacks
    T tonymathewt

    Hello Shameel How about persisting the DataSet(as I have more than one DataTable) in a Session variable and clearing it(using Session.Remove()) while the user navigates away from the page?

    ASP.NET database question

  • Persist a dataset across postbacks
    T tonymathewt

    What is the best approach to persist a dataset across postbacks so that users could manipulate the data in it and could be saved(to the database) at last.

    ASP.NET database question

  • Identify whether a user is logged in or not
    T tonymathewt

    My client insists on this feature. He wants the first login to be logged out. Is it possible?

    ASP.NET

  • Identify whether a user is logged in or not
    T tonymathewt

    My requirement is to find out whether a user is already logged in or not while the same username is logging in for a second time(may be in another pc/browser). If he is already logged in then I need to log out the first user, kill all his sessions and then the second user becomes active. The user name in first and second log in is the same but may not be the same in person(pc). Has anyone worked around such a requirement. I plan to use the FormsAuthentication. But I don't mind changing it if this requirement gets satisfied without it

    ASP.NET

  • Persist a controls view state in masterpage
    T tonymathewt

    I have a treeview in my master page which is populated from database and its items (nodes) depends on the logged in user. How can I minimize the database hits that may happen on page navigation. I believe caching is the solution for that. Will fragment caching help in minimizing the treeview binding since it is different from user to user? Is there a way to persist the value of the control between page redirections?

    ASP.NET question database wpf wcf help

  • Problem while assigning stored procedure from a different schema to sql datasource
    T tonymathewt

    I want to assign a stored procedure for an sql datasource. The stored procedure belongs to different user-defined schema rather than the dbo. The stored procedure is being detected but but when I click test it says "Could not find stored procedure 'sp_name'".

    .NET (Core and Framework) database sharepoint xml help

  • Bind a grid after the page is loaded
    T tonymathewt

    Sure this method works. But I wanted to know whether this could be done without a second control to trigger the postback?

    ASP.NET javascript css wpf wcf question

  • Bind a grid after the page is loaded
    T tonymathewt

    Thank's for replying I am already achieving this functionality. In my page the grid should be bound with out any user action like a button click. I have explained already how I am achieving this. I am not sure whether this is the right way or not. I want to know whether this could be done without a second control to triger the binding

    ASP.NET javascript css wpf wcf question

  • Bind a grid after the page is loaded
    T tonymathewt

    I want to do the binding of a grid after the page it is contained is loaded and rendered completely. I want to delay its binding because the data source of the grid takes a long while to get populated. I need the page to be rendered first and then an ajax progress(wait) image is to be made visible until the grid is bound and rendered. Currently I am achieving this through triggering a hidden button's click() event via javascript that's written at the end of the body. The button's click function binds the grid. Both the button and grid are put inside Ajax update panel so, the waiting image also come's properly. Is there an easy(direct) alternative method rather than the way I am doing?

    ASP.NET javascript css wpf wcf question

  • Prefix the table names in aspnet membership roles management
    T tonymathewt

    You mean to create the db ourselves?

    ASP.NET asp-net help question

  • Prefix the table names in aspnet membership roles management
    T tonymathewt

    I want to use aspnet membership and roles mananagement in a work I am currently about to do. But a problem I have is with the table names created/used by the roles and membership classes. I want it to be prefixed with "mdt". Is that possible?

    ASP.NET asp-net help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups