|
You can create an event handler for the ItemCommand event of the DataGrid control(if the Update button is placed inside the grid) or the Click event of the Grid. In the handler, you can access the CheckBox control and check the Checked property of the control.
|
|
|
|
|
In my Project One DataGrid in that AutoGenerated column is false. Only three Column i m binding with DataGrid
ModuleCode Description AccessRightd
in AccessRight Column i m placing PlaceHolder in that i m displaying AccessRight
in database AccessRight value like this i m storing( Insert|Delete|Select|View|...etc).
i m displaying in DataGrid like this([]Insert[]Delete[]Select[]view)
now i want to update the accessright,here i want help.
how to do,
second thing is that is there any other way to display like this .
help me ..it's urgent.
|
|
|
|
|
Have you tried what I said? Anyway, you can see the sample code from the site DataGridGirl[^]
|
|
|
|
|
hello guys,
i was wondering about the possibilities to show a web form as a pop up form (just for selection eg searching) and possibly get the ID of the selection when the user selects an item eg after search result
Anyone ever tryed?
thx
|
|
|
|
|
hi rahman,
just a bit of javascript coding is needed.
use window.open('mywindow','',formname.aspx,height=400,width=400)
have good times.
Tirthadip
|
|
|
|
|
Thank you,
however I think I needed to provide bit more details in the first place ...
ok, I have a page which is using a master page file. I want to click a button and then show another page eg 'popupform.aspx'.
Can i call the code you provided from the code behinde of my original form? I kept it in the html portion as below:
<asp:content id="Content1" contentplaceholderid="ContentPlaceHolder1" runat="Server">
function ShowWindow()
{
window.open('mywindow','','formname.aspx',height='400',width='400')
}
asp:Button ID="Button1" runat="server" Text="Button" "OnClick"="ShowWindow"
But it raises the error of: "Error 1 'ShowWindow' is not a member of 'ASP.getpostpage_aspx'."
it looks like it down't like that javascript part.
any ideas?
PS: I kept onclcik inside double quites becuase it was not allowed in the message
-- modified at 4:11 Friday 14th April, 2006
|
|
|
|
|
Rahman Mahmoodi wrote: asp:Button ID="Button1" runat="server" Text="Button" "OnClick"="ShowWindow"
<asp:Button ID="Button1" Runat="server" Text="Button"></asp:Button>
on Page_Load:
Button1.Attributes["onclick"] = "ShowWindow(); return false;";
That way is used for server control. However, you just add an HTML control is OK.
<input type="button" onclick.="ShowWindow();">
|
|
|
|
|
Yes, Thank you.
This one worked however the size is not working so it still shows the form as full screen but the max button is disabled.
|
|
|
|
|
Rahman Mahmoodi wrote:
window.open('mywindow','','formname.aspx',height='400',width='400')
window.open('formname.aspx','subwin','height=400,width=400,menubar=no,toolbars=no ,scrollbars=no');
|
|
|
|
|
When I send Email using:
SmtpMail.SmtpServer = "...";
SmtpMail.Send("webmaster@....", "gyokusei@inbox.com", "This is a test!", "Testing...... Thanks!");
It works fine but the mail message (.EML file) isn't delivered. It stores in Queue folder.
I configured the IIS well as MSDN showed. And I can use Outlook 2003 to send an email to webmail(inbox.com) with my IP address.
Can you help me solve this problem?
-- modified at 0:13 Friday 14th April, 2006
|
|
|
|
|
I want to make sure that all access to the Web Application is done thru the Secure URL. Is there a way to check this at the login page. I see that IIS has some settings to require secure communication but this is hosted and we have no control over this. Or do we need to ask the host to set this property in IIS.
Thanks
|
|
|
|
|
|
I want to make connect to a certian folder on a server and then
search the files inside it. Can anyone tell or point me to how it can be accomplished.
Any help is appreciated
Thanks,
|
|
|
|
|
Hi there
You don't tell us much
Is it a webserver we are talking about? In that case, unless the serveradministrator has allowed the "browse folders" function - then you won't be able to.
If it's a webserver you are administering yourself, then there are a couple of ways to do this. Let us know a bit more.
Kind regards - Jakob
*********************************************
Three kinds of people in the world:
- Those who can count..
- Those who can't!
10 kinds of people in the world:
- Those who understand binary
- Those who don't
|
|
|
|
|
yes, its a web server and I administer it.
I want to start at a main folder and search layers down for a particular file.
Could you let me know the ways we could do this.
Thanks,
|
|
|
|
|
|
|
Hi all..
I need to make an internet application and it is a bidding scenario where:
1) A client would pass the request and wait for the response from multiple bidders connected online.
2) The biders would bid on the request at real time.
3) All the bidding responses are then showed on to the clients screen..
Hope u got the scenario.
Now the problem is, how do i get the client and bidders to communicate in real time via web browser?
There might be many bidders which would delay in response.so the clients page should refresh as and when responses come.It is something like a stock market page where the share values go up and down every minute..The web server decided is IIS6 ..Please help..
|
|
|
|
|
AJAX would be good for this task (do a search)
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
You can't push an update from the server to the browser, the http protocol just doesn't work that way. You have to check for updates periodically.
---
b { font-weight: normal; }
|
|
|
|
|
exactly..the client will have to refresh the page periodically..r u hinting at storing ol the client requests in a database and the bidders accessing frm there?but wouldnt the database become very large eventually..can anyone refer me a messenger program example..
|
|
|
|
|
Hi
Iam displaying a list of radion boxes
I want to display how many are checked and display in the label
MY CODE IS :
-----------
<asp:radiobuttonlist id="ch" style="Z-INDEX: 132; LEFT: 480px; POSITION: absolute; TOP: 1208px" runat="server"
="" forecolor="#404040" font-bold="True" height="40px">
<asp:listitem value="Seller Cell Phone" selected="True">Seller Cell Phone
<asp:listitem value="Seller Email">Seller Email
this for displaying radio buttons
on button click
Label25.Text = ch.SelectedItem.Text
how can i check no.of radio buttons and
how can i display all the selected items in the label
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
Check "Ignore HTML" when you post your question, so that your code can be seen.
---
b { font-weight: normal; }
|
|
|
|
|
Hi Kirthikirthi
Do you want this code to run clientside as well, or is it enough that it runs serverside?
Kind regards - Jakob
*********************************************
Three kinds of people in the world:
- Those who can count..
- Those who can't!
10 kinds of people in the world:
- Those who understand binary
- Those who don't
|
|
|
|
|
HI
I want display the list of radiobuttons
In that client how many selected i want print that
www.w3schools.com/aspnet/showasp.asp?filename=demo_checkboxlist
This code i changed to button click
But when client select first time it is printing. When he selects 2nd time it is not eracing the privious data
Thx for replying
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|