|
It is the same screen in front of them,
Always it will display same page
|
|
|
|
|
You can use Ajax methods in the backend for a particular time interval, say every half-an-hour, to check the database and find whether any changes has been made. If there is, update the same.
If it's too difficult to check the updation, just load the data from database everytime. But this may affect the performance.I'm not too sure about it.
Meeram395
|
|
|
|
|
|
Hi all,
I am beginner in web development in ASP.net using C#.and i hve the following problem to solve.
I have three list boxes and all this list boxes takes data from MS Access database.
When i select one of the item in first list box, the second list box dynamically list the data depending on the selection i have made in the first list box so i can select the one of the items in this second list box and the third list box will displays the item depends on the item selected in the second list box.Please help me!!!!!!!!!
thanks in advance,
Manikkuttan
|
|
|
|
|
So you have only three list box.Right?
Bind First list box on page load event
if(!ispostback)
{
//First List Box
}
Now on first listbox SelectedIndexChanged event,check items is selected or not. if it is selected then get records from database depending on selected value and bind second ListBox
do same code on second listbox SelectedIndexChanged event
regards
Imrankhan
please don't forget to vote on the post that helped you.
|
|
|
|
|
thanks it works perfectly!!!!!!!!!!!!!
|
|
|
|
|
You should giv the ajax cascading drop down a go.
It woudl work well with your scenario.
http://www.asp.net/ajax/ajaxcontroltoolkit/samples/CascadingDropDown/CascadingDropDown.aspx
We are not a Code Charity
|
|
|
|
|
hi , is there any property in grid view which takes confirmation like "ARE YOU SURE" ....... please let me know how to do this...
|
|
|
|
|
rajkumar.3 wrote: is there any property in grid view which takes confirmation like "ARE YOU SURE"
Why you need property of gridview to display confirmation message?
You can also display confirmation message on OnClientClick event of Button control.
OnClientClick="return confirm('ARE YOU SURE......?');"
Regards
Imrankhan
please don't forget to vote on the post that helped you.
|
|
|
|
|
You could also try the ajax extender which you can attach to a button or other control
We are not a Code Charity
|
|
|
|
|
I intend to show CPU time on a Dundas Gauge Control. So i get the CPU time; but the value is always return 0; i survived the fd from 0 but now it returns 50 sometimes 100.
but if i check the
CPU_1PerformanceCounter.NextValue(); on Quick Watch i see the reel values. if i press the REGENERATE button; it returns new reel value but
fd = CPU_1PerformanceCounter.NextValue(); never works; so it is not set the reel value to my fd variable.
PerformanceCounter CPU_TotalPerformanceCounter = new PerformanceCounter("Processor", "% Processor Time", "_Total");
float fd = 0;
do
{
fd = CPU_1PerformanceCounter.NextValue();
} while (fd == 0);
e.RealTimeValues.Add("CPU_Total", fd);
|
|
|
|
|
|
Hi All,
I am getting the Error 'The Resource object with key "lblToday" is not found' when i am doing the application to use globalization concept. i have default.aspx page which contains
<asp:Label ID="lblToday" runat="server" Text="<%$ Resources:lang, lblToday %>"></asp:Label>
i have two resource files with lang.en-US.resx and lang.de-DE.resx files.
which contains 'lblToday' as string with value 'Today's Date'.
When i execute the file i am getting this error
'The Resource object with key "lblToday" is not found'
Any ideas?
G. Satish
modified on Wednesday, June 11, 2008 2:43 AM
|
|
|
|
|
Are the files in the correct location, i.e. the root folder of the website?
We are not a Code Charity
|
|
|
|
|
Hi friends
I need to access a scaner in my application can any one tell me how to use it.
Can i give scann comand in javascript.
Thank in advance.
|
|
|
|
|
kuwl_mark wrote: Can i give scann comand in javascript.
NO
|
|
|
|
|
Plain JavaScript can not give this power for your webpage. You may need to use an ActiveX Control.
Check out http://www.chestysoft.com/ximage/twainupload.asp[^]. It is a commercial ActiveX Control but gives a trial version for you to evaluate anyway.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|
|
Hello Friends,
how many invalid character in user search of active directory For Example:- ((cn=Test User1\)). there is \ is invalid character for active directory.Please help me.
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Please post here error message which you are getting currently.
Parwej Ahamad
R & D with IIS 5.0/6.0
|
|
|
|
|
Error: Exception: System.ArgumentException: The ((cn=Collier\)) search filter is invalid.
at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.MoveNext()
at System.DirectoryServices.DirectorySearcher.FindOne()
at NSCore.ADOperations.GetUserSipUri(String userName)
Error: Exception: System.ArgumentException: The ((cn=Bell\)) search filter is invalid.
at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.MoveNext()
at System.DirectoryServices.DirectorySearcher.FindOne()
at NSCore.ADOperations.GetUserSipUri(String userName)
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Piyush Vardhan Singh wrote: how many invalid character in user search of active directory For Example:- ((cn=Test User1\)). there is \ is invalid character for active directory.Please help me.
If you want to use these types of char in code,You simply add '@' char.
For Example
string MyString = @"Text User\Directory\";
please don't forget to vote on the post that helped you.
|
|
|
|
|
its not working. it's not any path it is name of user in active directory.
it's use like this:-
directorySearcher.Filter = "((cn=" & userName & "))"
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
|
Hi All,
Here is the scenario, In user control having Gridview and there are few validation controls for different textboxs in each row.
I need to create one property this will disable all validations in Gridview.please help me this is.
Thanks in advance for valuable suggestions
|
|
|
|
|
Vinay Dornala wrote: I need to create one property
Where ? Your best bet is to subclass GridView. Then add your property which finds the controls and sets CausesValidation to false.
|
|
|
|