|
What if you make your tag call a method in the code behind, pasing in the dataitem, so you can do the cast in C# code ? Then you can also see the data, to confirm that it's only ever true/false ( I doubt it is, this should work )
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hy.
In my first App. I hab a DataView where i concat a string for the Rowfilter. After that I returned the DataView
I exicuted it and it worked.
Now I have to sent the result via a Webservice.
The first Prob was that the WebService doesn´t know the DataView so I changed it into a DataTable.
Now I have the problem that I return a DataTable, and the changes from the filter are not in it.
data.RowFilter = filter;<br />
<br />
return data.Table;
where data is a normal DataView and filter is just a String.
So here is my question:
How do I get the result of the rowFilter() ???
Thx Cheers
Sorry! Sorry!
Just did it! After one hour work!
If someone is interested in this here is the code:
data.RowFilter = filter;<br />
<br />
System.Data.DataTable table = new System.Data.DataTable();<br />
table= data.ToTable();<br />
return table;
It isn´t nice I know, nut what the hack
Cheers
You have the thought that modern physics just relay on assumptions, that somehow depends on a smile of a cat, which isn’t there.( Albert Einstein)
|
|
|
|
|
|
Don't Repost.
Regards,
Satips.
|
|
|
|
|
Hi Satips,
if u know the solution of this please help me out
Thanks-
Supraja
|
|
|
|
|
hello friends I m using following javascript for opening a new window
"<script language='javascript'>"+ "window.open(' " + sPath + " ','myWindow','location=0,status=0,scrollbars=0, width=580,height=470,top=150,left=250');</script>;";
this code is working fine in mozilla but creating an error in Internet explorer
error is popup window blocked.
I m working in asp.net2.0 with c#
Regards,
Rahul
rahul saini
|
|
|
|
|
Just De-activate the Pop-ip Blocker and try it in IE.
Or just double click on the Image tehn it will not pop up.
Regards,
Satips.
|
|
|
|
|
Hello Satips,
Thanks for your help.
But is their any other way that ie does't block our java script
because how can we change every body ie settings.
Regards,
Rahul
rahul saini
|
|
|
|
|
Hi Friends,
I am using asp.net with c#.I am new to designing cretaion and verifying digital certificates.i need to verify client certificate with root certificate .in that i was struck with verifing the publickey.i am able to dispaly the Thumbprint and publickey of the certificates but i am unable to verify that Thumbprint and publickey.
It is greatful to give an example which is help to me
Cheers,
Happy Coding
|
|
|
|
|
hi all,
I need to access the web service which is been deployed global web service.
OR
How can i deploy my web service as globa resource so that anybody in this world ca access it
if anyone knows give the steps or examples to achieve it.
thank you all in advance
With regards
Senthilraj K
|
|
|
|
|
I thought if you deploy the webservice in a public webserver, anyone can use the web service.
|
|
|
|
|
Hi,
I am unable to clear TextBoxes in panel. Generally I am using the following code to reset controls in webpage.
private void Reset()
{
foreach (Control control in Page.Controls)
foreach (Control childControl in control.Controls)
{
if (childControl is TextBox)
((TextBox)childControl).Text = string.Empty;
if (childControl is RadioButton)
((RadioButton)childControl).Checked = false;
if (childControl is CheckBox)
((CheckBox)childControl).Checked = false;
}
}
In it i have changed Page.Controls to Panel1.Controls, but its not working.
Please let me know how to reset all controls in Panel.
Regards,
JJ
|
|
|
|
|
can any tell which control is used to display posted messages in codeproject forum?
|
|
|
|
|
|
while binding the data with gridview with the values of array the result comes in a single line.how i give coloumn names for the grid?
-- modified at 8:04 Monday 18th June, 2007
|
|
|
|
|
hi!
dear i want a textbox that always type Capital Words i.e ABCDE. even CapsLock would be on or off. plz help me
|
|
|
|
|
Maybe if you get the typed string and say .toUpperCase(), or how it is called and set it to the box. But I can´t think of how you can do this in real time.
cheers
You have the thought that modern physics just relay on assumptions, that somehow depends on a smile of a cat, which isn’t there.( Albert Einstein)
|
|
|
|
|
javascript
=========
function UPPER()
{
var text = document.getElementById("textBoxId").value
document.getElementById("textBoxId").value = text.toUpper()
}
call this function in onchange event of textbox in client side
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
Add this to the page load:
this.TextBox1.Attributes.Add("onkeyup", "javascript:perform(this)");
to the source of the aspx file add the following code:
function perform(param)
{
var txt = document.getElementById(param.id);
txt.value = txt.value.toUpperCase();
}
thats will work for sure.
|
|
|
|
|
use Cascading style sheet tag
text-transform:upper something like that
|
|
|
|
|
Hi,
In my application, I am uploading some files and then clicking on the send button which is actually a link button.Since the files are big in size, it takes some time to upload them .In this case i dont want the user to click on the send button again.
i.e. If the user has clicked the send button then i dont want the user to click the send button again......
How to disable the clicking of the link button if the user had already clicked?
Thanks,
Riz
|
|
|
|
|
Just onclick event say
button.enabled = false;
and after your work is done you can enable it back again !!
|
|
|
|
|
On the click event it i am also doing something else but after that even if i disable it...still i can click it. How to prevent it from clicking?
Thanks,
Riz
|
|
|
|
|
Hi all
I have a grid view, with editing enabled. I have columns which display a drop down list of options when editing. The bit I can't find info on, is how do I make that drop down list have the current selection selected ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Doh - it was exactly what I thought it should be, but I didn't try it until I found it with google ( always ask on CP, then you'll find it in no time ), because it didn't come up with intellisense, so I thought I must be wrong.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|