i have one problem in my web application,i have two layouts.
iam giving user can change the header colors and font size in the css.but how to save user changes colors and font size.. and where ?
give me information or give url's..
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
I want to get the index of the row where the button is clicked.
Please note that I am using EventArgs, not GridViewCommandEventArgs, since with GridViewCommandEventArgs nothing is happening, once the button is clicked.
I've some special characters like æ ø å and when I use these chars it display correct in the label but when i bind that field with a Gv they are converted in to ø or any other number at the place of 248. What is the solution for this problem.
I need to implement on my form, a feature to automaticaly store the old value of the cotnroles on a database if the user press a button to save the value. One way is to code it for each control on the ButtonClick event but it's too heavy to do and no fearly nice.
So, a good way is to declare inherited controls, add properties and declare events. On the form, when the user press the button, raise the event and for each control whose has the value changed and saved it to disk.
I need also to pass arguments on the Event to stored it on the database.
I have implemented the following but the event on the custom controls is not fired. So I do not know what is wrong.
On the /APP_Code subdirectory, I have created a class called "MyControls" like this:
'need this class to customize argumentso to pass in tge event
Public Class SaveEventArges
Public Delegate Sub SaveEventHandler (ByVal sender As Object, ByVal e as SaveEventArgs)
Public Class ComboBox
myproperties and methods ...
Public Event Save as SaveEventHandler
Protected Overridable Sub OnSave (ByVal sender As Object, ByVal e as SaveEventArgs)
RaiseEvent Save(me, e)
Protected Sub ComboBox_Save ( ByVal sender As Object, ByVal e as SaveEventArgs) Handles Me.Save
On the code behind:
Public Event Save As SaveEventHandler
Protected Sub Btn_Click ....
Dim t as New SaveEventArgs
my t... properties to pass to the event
RaiseEvent Save (me., t)
What am I doing wrong?
I spent 4 days reading how to do it and no way to found a solution, so please i need your help.
I have bulk of data of client information aprox 15000.
This is not an good idea to showing this amount of data In gridview at time.
What you can do
1. Use Filter Criteria and based on that allow to retrieve Data. Because, there is no sense to load 15,000 at a time, as no one going to check those data at time.
So, use filter criteria.
2. Use Caching, To Reduce the performance hit. If the data is common for all user, use dataCaching, use filter from Cached data itself. Use Cache Dependency if you want to update cache if some changes in data.