|
hi
actually my menu control is on master page.i m trying to populae it from
cild page.
on chid page i have a dropdown list.
on DropDownList1_SelectedIndexChanged I am trying to access the master page menu control.and then trying to populate it.but it is not populating.
but if i m trying from pageload of child page.then it is working.
but i want that it should work on DropDownList1_SelectedIndexChanged.
|
|
|
|
|
Hi All,
Anybody have an idea where can i get Filtered numeric textbox with comma seperator on thousands. I know there is one in ajax control toolkit and it is nice, however i need to do some formatting when exiting and while writting this control (again aim aware that it is doable by javascript), but is there something ready to use.
thanks in advance
|
|
|
|
|
samerh wrote: again aim aware that it is doable by javascript
so, what else would you like to know?
samerh wrote: is there something ready to use.
not as a control. see your message and you will figure it out.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Someone know how to convert a System.Web.UI.WebControls.FontInfo to System.Drawing.Font?
Thanks
Thomas
|
|
|
|
|
You probably need to create a font using the info in the FontInfo object (name, etc )
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi All,
Now a days all browsers pop-up's get bolcked for security purpose.
So i'm thinking to use alternative for pop-up in my web site, which should not get blocked say like pop-in calling through java-script.
The purpose of pop-up's in my webapplication is for confirmation msg (eg. you want to save YES/NO)
Any body have great idea for alternate of pop-up.
Please share
Waiting for reply
Thanks in advance
Ashwini
|
|
|
|
|
ashwinibhalerao wrote: The purpose of pop-up's in my webapplication is for confirmation msg (eg. you want to save YES/NO)
Then why you are not using Java script Confirm
<script type="text/javascript">
var repl = confirm ("You want to save?")
if (repl )
alert ("save.....")
else
alert ("no...")
</script>
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
There are something like three billion (OK - I exaggerate) methods of popping up - just google for, say, javascript popup alternative for 200,000 hits. surely you'll find something.
___________________________________________
.\\axxx
(That's an 'M')
|
|
|
|
|
create popup through HTML Divs .. yourself. .
Just floating over your page.
|
|
|
|
|
can u give me example/demo...so that i'll get idea
|
|
|
|
|
I have one page which will store inventory detail (inventory.aspx). While clicking on confirm button
pop-up will show (confirmpopup.aspx). this pop-up will show invetory detail and ask do you wan to save. It will get redirect to invetory.aspx as per clicking button 'Save' or 'Cancel'.
Inventory.aspx
<asp:button id="approvalHistoryButton1" text="Confirm" runat="server" onclick="ShowApprovalHistory(this)" xmlns:asp="#unknown">;
function ShowApprovalHistory(obj)
{
wind=window.open(obj.getAttribute('URL') ,'DenyOrder','width=650,height=300,left=150,top=200,toolbar=0,scrollbars=1,status=0,menubar=0');
}
Inventory.aspx.cs
#region ApprovalHistory Button PopCode encryption
approvalHistoryButton1.Attributes.Add("URL", System.WebController.SecureQueryString.QueryStringEncode("../Orders/ViewApprovedOrders.aspx?OrderRequestId=" + OrderRqstId + "&corpId=" + ordersCorpId + (Request.QueryString["Source"] != null && Request.QueryString["Source"].Trim().Equals("OrderManagement") ? "&Source=" + Request.QueryString["Source"] : string.Empty)));
#endregion
|
|
|
|
|
Hi all,
Could any one help me?
i created radio button in a gridview when i click this radio button i call a javascript function . in this function i am using the code for changing background color of current row.
I want to change the index of gridview.
is there any code for this pls reply me...
|
|
|
|
|
What do you mean by 'change the index'. Do you want to swap two rows ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
i mean to say gridview.selectedindex
if i click row no 1 then it should be
gridview1.selectedindex = 0; this is c# code
i want this code into javascript
|
|
|
|
|
Oh, OK. A gridview is rendered as a table. You need to work out what changes in the HTML when a table row is selected, and then do that.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
how to create sub menu dropdown in a menu dropdown in asp.net
|
|
|
|
|
Look this code...
Dim itm As New MenuItem("hi")
Dim itm1 As New MenuItem("me")
Dim subitm As New MenuItem("subhi")
itm.ChildItems.Add(subitm)
Menu1.Items.Add(itm)
Menu1.Items.Add(itm1)
The miracle is this--the more we share, the more we have.
|
|
|
|
|
Hello All,
i have a gridview, dropdownlist, textboxex on web page, when i select dropdown item based on selection(from database) button shuld b created ,some of the button are enabled/disabled, red/green based on condition from database.
Then how to add these button to the gridview , and handling event of these button, if i click the button it should not be vanish.
How it could be.
please give me complete code
Thanks
|
|
|
|
|
shoyebaziz123 wrote: please give me complete code
When did your last servant die ?
Your best bet is to add a hidden control, and to store details of controls you have created in there, as XML perhaps. You need to create those controls on each postback before page load, for viewstate to be restored.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Christian Graus wrote: When did your last servant die ?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
i have to text bax fromdt and todt i have used ajax calender control extender to select date format is dd-MMM-yyyy i want to compare values of date in textt box using javascirpt how i can do that
|
|
|
|
|
|
hello sir,
I have developed a asp website using VS 2005.In my institution there is LAN.I have saved my project(website) in wwwroot in my system in which IIS installed.IP address of my system is 192.168.1.198.I like to access that webpage from another computer using IP address. i.e, by typing " http://192.168.1.198/quantum/" but i got an error Page cannot be displayed.How to correct that error? please help me..
Thanks in advance...
|
|
|
|
|
vdshankar wrote: y typing " http://192.168.1.198/quantum/" but i got an error Page cannot be displayed.How to correct that error?
What error are you getting?
Just putting on wwwroot, will not do the Job.
-> Open IIS. [ Run > inetmgr ]
-> If you have already placed it inside wwwroot, it will come to the default web site section.
-> Right Click on That Folder, You will get "application Name" text box is disabled. Click on Create Button.
-> Also verify the ASp.NET Version and Authentication Setting.
-> Now try to access.
If its not clear to you, Read this article Deploying Websites on IIS[^]
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
i tried that suggestion made by u. but it does not work
plz help me
thanks in advance
|
|
|
|