|
Hi,
I have a User Control thats having few Dropdown list on it. I am using this at one Web page. I registered the control using @Register on ASPX page.
From the Code behind i am populating the dropdown list of User Control.
But its not recognizing the dropdown list, and giving error at compile time.
What I am missing apart from Registration of control.
Thanks !
|
|
|
|
|
I guess if you posted some code, we could try to help.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
try putting in a number of different controls and then see if you can recognize them
|
|
|
|
|
How does that help ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Well it might just be one control that may not be working, or a small bug in the system
|
|
|
|
|
Hi i need some guideliness from u guys,
See i have created one project, it contained lot of sub modules...,
Take example i created one ERP package...,
In that HR, Payroll, Filemanagement like this sub modules will be there...,
This all the things, i have in same project and the dll file name is project name...,
Now my question is, i like to differentiate the modules...,
It mean, while accesing my project "enduser" will interact with the one dll file...,
Suppose lot of enduser will interact this one dll, then it will be critical, then the process will be slow down...,
So i like to create each module as separate , separate dll's...,
so when the user interact with dll using his id and pwd, if he have to rights to access another dll, he can access else he wont disturb that dll...,
example the enduser can have rights only HR and Payroll then he can interact with that 2 dll's only...,
So it will avoid enduser to access all the dll's & we can make process spead also high...,
How to procedure this?,
I dont have any team members with me,I am building this project alone,
So i like to share with u guys how to solve this probs...,
Help me,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
I think you need to do some reading on how all this stuff works, because right now, it sounds like you're very confused.
You have nothing to worry about. If you think things could be too slow, you need to spread your load across many machines. Changing the file structure on one machine, will make no difference at all.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
You can make folder level dll files to your project...i.e make Hr.dll, payroll.dll like this...
You can do this...by installing the webdeployment.msi on your machine..
Right click on project and click on Add webdeployment project..later go to property pages. in that select an option of folder wise dll..
Then it will works.
I hope, this will solves your problem
G. Satish
|
|
|
|
|
Hi i created one project in that dll file will be a private assembly for that project,
Now i wantto use that dll file for another project,
So i have to make it as public assembly,
can i just drag and drop in to my new project that private assembly or have to do anyother thing to make private assembly as public?,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
I suggest you read this[^], and perhaps consider taking the advice you were given last time you asked this.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
New one wrote: can i just drag and drop in to my new project that private assembly or have to do anyother thing to make private assembly as public?,
You can add a reference from the new project to this assembly. If this assembly is used by many projects, consider deploying it to GAC.
|
|
|
|
|
Hi,
I'm looking for a smart way to have a databound dropdownlist to display a greyed text that says somthing like...."select here". After the user has made his first selection the text should go away and not be in the list again.
Any ideas how I can accomplish this?
/ Erik
|
|
|
|
|
javascript is really the only way to do this. Not sure how easy it is to make it grey, but I'm sure it's doable.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
After databind to ur dropdownlist y u can't insert one record like this:
DDLMainDesc.Items.Insert(0, "Select One")
I hope this one will help u
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
Thank you, this is the function that I want, BUT I also want the "Select One" item to disappear efter the user have selected a value/opened the ddl for the first time. How to do that?
|
|
|
|
|
Remove it with javascript.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Yes.....but how to that?
Is there any samples? I havnt found any.
|
|
|
|
|
try and find the value in the dropdown list or by finding a value which has select in, then you can make this invisible
|
|
|
|
|
http://www.w3schools.com/js/tryit.asp?filename=try_dom_select_remove[^]
So, call a variation on this code when the drop list is opened, but have it look for the item you want to remove the first time and remove it only if it's there.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thank you very much!
I'll try this...
|
|
|
|
|
I am using a datalist in which i want to bind some data from database on page load..
I am using the following code for doing this...throws an error saying
Compiler Error Message: CS0029: Cannot implicitly convert type 'System.Data.DataSet' to 'System.Web.UI.WebControls.DataList'
Source Error:
Line 29: cmd.CommandType = CommandType.StoredProcedure;
Line 30: SqlDataAdapter adpt = new SqlDataAdapter(cmd);
Line 31: ds = new DataSet();
Line 32: adapter.Fill(ds);
Line 33: conn.Close();
Please help me...?
SAJAN A PILLAI
ASP.NET,C#.NET Programmer
dWise Solutions and Services Pvt Ltd.
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
hii
show me your code where u assign dataset to datalist
your connection And filling dataset from storeprocedure is right..
Jintal Patel
|
|
|
|
|
Might be this is not error source code
Where are you binding your dataset to datalist control ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Its working fine but i want to paginate it...
is there any possibility that i want to show only 5 records in a page...
SAJAN A PILLAI
ASP.NET,C#.NET Programmer
dWise Solutions and Services Pvt Ltd.
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
Just google for pagination you will get lot of articles
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|