|
Hi Sandeep,
Kindly send that links to me. BTW r u from chenni?
Thomas
|
|
|
|
|
thomas_joyee wrote: 20.What is new in asp.net 2 thank you.
|
|
|
|
|
I want to hide template column in gridview.
how can i do it.
plz help me.
|
|
|
|
|
make templatefield visible =false;
like
asp:templatefield visible="false"
itemtemplate
asp:label id="lblraj" runat="server" style="visibility: hidden;"
itemtemplate
asp:templatefield
try this
Rajendran.AL
|
|
|
|
|
|
welcome...lz dont ask simple questions...that and all you can get from google....bye
Rajendran.AL
|
|
|
|
|
This is Hide for Design Time.
<asp:TemplateField HeaderText="Header Text" visible="false">
...
</asp:TemplateField>
If U want to hide column in design time.
For example, you want to hide first column.
GridViewName.Column[0].Visible = false;
|
|
|
|
|
Thanks YeHtut.
Its done now
|
|
|
|
|
hi friends...
I am developing the project using webservice..and attached the webservice code here..
here I am getting error like Server was unable to process request-> Object reference not set to an instance of an object.
Page_Load(....)
{
srch.AuthHeader au = new srch.AuthHeader();
au.UserName = "gizmogeek";
au.Password = "srch10242";
srch.Srch test = new srch.Srch();
srch.SearchResults s = new srch.SearchResults();
s = test.GetSearchResults_soap("hotels", "bangalore", 1, 500); //error
}
anybody will know plz reply me....
Thanks
Rajendran.AL
|
|
|
|
|
Member 4562872 wrote: s = test.GetSearchResults_soap("hotels", "bangalore", 1, 500); //error
Set the breakpoint in this line. And check whether the object "test" is Nothing or not.
|
|
|
|
|
yes I put break point ..and ckecked line by line
srch.Srch test = new srch.Srch();//here we can get srch.srch
srch.SearchResults s = new srch.SearchResults();//here we can get srch.SearchResults
s = test.GetSearchResults_soap("hotels", "bangalore", 1, 500); //here its saying error
I would like inform you another things....here we are using third party server...but I dont thats a problem or not....
Rajendran.AL
|
|
|
|
|
Did you check whether "test" object is null or not?
Okay. Let's do one thing..
if(test == null){
Console.WriteLine("The test object is null");
}
else{
s = test.GetSearchResults_soap("hotels", "bangalore", 1, 500);
}
Set the breakpoint in "if" line and check where it goes..
|
|
|
|
|
It's going to else part
Rajendran.AL
|
|
|
|
|
Is the URL of your webservice correct? Sometimes, what happened is that the URL which is used in proxy class is wrong.
Have you tried to call other methods (except GetSearchResults_soap) from this webservice? (Just for checking whether this webservice is working or not )
If all other methods from this webservice are working fine then this error might be from GetSearchResults_soap so you should contact with your third-party webservice group..
|
|
|
|
|
I will check it....let we see...wt will happen...
Thanks....
Rajendran.AL
|
|
|
|
|
"r aa j" and "Member 4562872" are the same person?
|
|
|
|
|
Both are same.just now changed..now onwards I wont change....soory for an inconvinience....
Rajendran.AL
|
|
|
|
|
Hi all...
How does one lock a control (so that no info can be changed in lets say a dropdown box)? I want to display the info but not allow data to be changed manually?
"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison
|
|
|
|
|
Are you trying to do like locking the control on winform? If yes, this feature doesn't exist in webform. (AFAIK)
Support123 wrote: I want to display the info
What kind of information you want to display? Example?
I'm not so sure what you are trying to do. It is better if you tell us your scenario with the example.
|
|
|
|
|
i want to make it so that the user cant enter anything but not to Enabled = false the control because it grays it out (i dont want that)
I might be wrong (so please correct me if i am wrong i have been working with c# for a while but i have much to learn.) but isn't there a property in C# called Locked ?
So you could have something like: ControlName.Locked = True
am i mistaken when i say that this bit of code locked the control so that no user input was excepted?.... If this is true... Is this property availible in ASP.Net as well?? (might it be that this property is only availible to textboxes???)
Thank you in advance.
"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison
|
|
|
|
|
Support123 wrote: it grays it out
I think you can change it to some other colors from CSS
|
|
|
|
|
I understand that you want to do display only??
Dropdown box don't have a ready only property.
So you canuse Enable property to false;
|
|
|
|
|
Hi, I want to download XPBurn Component for asp.net 1.1. But i didn't find it anywhere. Could you guys let me know any link from where i can download it. Thanks in advance
Arslan Ilyas
.Net Developer
Red Signal
|
|
|
|
|
There is no such thing. XPBurn is a component for C#, and as I said to you the other day, it will burn CDs on the server, not on the client. Unless your server has a CD stacker, or someone there to swap CDs, I don't see how it will help. You cannot use ASP.NET to burn CDs on the client side ( again )
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've asked the client and he told me do it on server. So, i will do it on server but i didn't find xpburncomponent. please help
|
|
|
|