|
hi friends
now i am doing content management system(CMS)..
my doubt is i have one dropdownlist like this
<asp:dropdownlist id="ddlalign" autopostback="true" runat="server">
<asp:listitem value="Left">Left
<asp:listitem value="Right">Right
<asp:listitem value="Center">Center
if i do some modification in the page then i click left modified page will display in left place of enduser page.
how can i do this
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
You could look at the stuff in 2005 that supports being able to drag and drop to move parts of the UI. Otherwise, the answer is you need to remember the settings and write code that dynamically places UI elements.
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 )
|
|
|
|
|
This is a pretty basic task. Do you not know how to access the roles from your database ? Don't know how to use a grid control to render the roles from the DB and dynamically check them ? Have you thought to ask your co-workers, given that the answer really depends on the way that your roles are stored, etc ?
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 )
|
|
|
|
|
i have 2 DataLists (DataList1 & DataList2)
DataList 2 is in the Item Tempalte of DataList 1 ..
i wanna Loop in the DataList2 Items ..
i mada a ForEach Loop and put it in the DataList2_ItemDataBound it works
but it doesn't reach to the last Item .. why ?? (
and when i put the same loop in the button click event it gets all items ..
|
|
|
|
|
hi,
do u debug yr application putting break pint in datalist2_itemdatabound ?
check it out...
Thanks,
Sun Rays
|
|
|
|
|
Hi,
I am looking for proper documentation on how to develop a wiki using ASP.net. Is there any link or article available for the same.
|
|
|
|
|
A wiki is a pretty simple sort of site. I can't imagine it needing any special advice. Where are you stuck ?
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 )
|
|
|
|
|
I dont have any idea about it. I dont even started working on it. First I want to read something about it and then only I will proceed further.I am just confused about words web2.0 etc and I am not aware of there use in ASP.net.
Candidly speaking I am just fascinated towards wiki and I want to develop it.But I dont have idea what I will have to do
Dont mind I want to develop a thing abt which I dont know anything...
|
|
|
|
|
Prateek G wrote: I am looking for proper documentation on how to develop a wiki using ASP.net.
You can download mediawiki and check how they implemented it in PHP, and similar way you can do in ASP.NET also
|
|
|
|
|
Thanks alot!!!
|
|
|
|
|
I already gave this guy "the list of Opensource Wiki in C#" in this thread.. he just doesn't want to read the sourcecode..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
Ha ha may be he is trying for alternatives
|
|
|
|
|
Dont mind but I think before going through the source code I should know what I am doing and why!!!
I already metioned it candidly that I dont have any idea about wiki so first I want to know what I will have to develop..
I am sorry if anything annoy u..
|
|
|
|
|
Sounds like you should read a book on ASP.NET in general, then go from 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 )
|
|
|
|
|
Thnx for suggestion vl definately do that...
|
|
|
|
|
Hi,
I am designing one Custom Control by inherting Components
and for changing icon i am use following code
[System.Drawing.ToolboxBitmap("icon.ico")]
And I am getting Tool Box icon changed but while dragging the control in from default circle icon coming !!!
Any idea !!!!
Thanks in Advance !!!!
If you have any doubt pleasse check this one
Custom Control[^]
And I am Realy Sorry For Post it in Asp.Net Forum , it should be in C#, Just a mistake
|
|
|
|
|
hi...
In my .aspx file i have a div tag. i am calling javascript function programatically ie.
Response.Write("hide();");
at page load event 'coz i want to hide it initially and show the div tag when needed.
For hide() i wrote
function hide()
{ document.getElementById('pstage').style.display='none';}
i am unable to find my error.
it often happens that javascript does not work.
pls let me know where is the problem and how to rectify it.
SunithaNallana
|
|
|
|
|
If u have this div tag under a form which has attribute runat="server". On page load even you can directly write
formName.FindControl("divTagId").visible = false;
Make sure again that div tag with id = divTagId has an attribute runat="server" else it will give you an error.
|
|
|
|
|
hi..
Prateek G wrote: If u have this div tag under a form which has attribute runat="server".
u r right but i donot want the div tag to be a server side control,i want it to function as client side control
|
|
|
|
|
Create a div with visible attribute as false.
And when you want to make it visible use the code.
document.getElementById('divTagId').removeAttribute('visible');
since by default visible will be true it will be visible In case again based on any condition if you need to make it invisible use this code
document.getElementById('divTagId).visible= "false";
|
|
|
|
|
can we store date time in millisecond formate(2007/11/13 02:20:36:265) in ms access
Piyush Vardhan Singh
|
|
|
|
|
Hi!
How do I deploy .NET applications that references Interop.Excel.dll or
Interop.Outlook.dll onto computers other than the one on witch the project
was built? I've made serveral attempts on packaging the assemblies using
Visual Studio Setup Projects. However, the MS Office automation operations of
my .NET apps simply will not run on other computers than the workstation I use
for developing them. After installing on others computers, on which Excel/Outlook
of course have been installed, all I get is System.InvalidCastException or
System.Runtime.InteropServices.COMException. Am I missing any vital components?
Am I including assemblies that shouldn't be part of the setup?
Any advice on this issue would be highly appreciated.
|
|
|
|
|
Could you please ask this in C# forum or somewhere??
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
Hi,
I am about to build several websites which will look different but all hold the same type of content in the same core page structure. The content for all sites will be held in 1 db and the relevant content pulled by each site.
Ideally I would like to build the pages once and then use them in each site with a different asp.net theme applied.
I've searched about and found some information which is close to this but nothing explaining this exact scenario. Is there any documentation I've missed on this or any best practice guidelins available for this problem?
Any advice will be appreciated.
William
|
|
|
|
|
Jan Feb .... Dic
John 10 5 7
Greg 9 6 9
Mary 10 4 8
I need select the value from Greg in Feb with a click in my datagrid,
and i´d like to display the value in text box,how can i do it?
|
|
|
|