|
That gives a great overview, showing how the ListView is superior to the GridView in every way.
However, when I tried to use it, there seemed to be some glaring holes, e.g. you can't just set the width of the grid like you can with the GridView. Maybe I'm missing something, but the list of properties on the ListView seemed much smaller than on the GridView, and I couldn't see any setting for "width", nor if I try a google search can I get any answers.
Do you know how to set the width of the ListView?
|
|
|
|
|
How to Programmatically Click select button in template field Gridview
|
|
|
|
|
Thats quite an odd thing to do! For the first step you'd need to use the following JavaScript (as the click happens client side):
document.getElementById('XXXXXXXX').click();
getting "XXXXXXXX" is the problem. The way to find it depends on your method, but post no 2 here[^] might be helpful.
Why are you doing this? It is unusual to want the UI to interact with itself.
|
|
|
|
|
i have a string of whois domain information in a string format. all information is in table format i.e. different tables for different domain in string. i want to extract information from it like 'expiry date','creation date','status','name server'.........etc
How can i extract such information from the string? also consider the case where a particular item may be more than once for each domain....like the name server. how to get all name server from the string?
the string is like below......
<table border='1'>
<tr><td class='ns_console_empty'></td></tr>
<tr><td >Domain ID:D3692425-AFIN
</td></tr>
<tr><td >Domain Name:TEXTREND.IN
</td></tr>
<tr><td >Created On:06-Jul-2009 08:19:53 UTC
</td></tr>
<tr><td >Last Updated On:27-Dec-2010 04:51:05 UTC
</td></tr>
<tr><td >Expiration Date:06-Jul-2011 08:19:53 UTC
</td></tr>
<tr><td >Sponsoring Registrar:Directi Internet Solutions Pvt. Ltd. dba PublicDomainRegistry.com (R5-AFIN)
</td></tr>
<tr><td >Status:OK
</td></tr>
<tr><td >Registrant ID:DI_8036523
</td></tr>
<tr><td >Registrant Name:PANKAJ KUMAR JHA
</td></tr>
<tr><td >Registrant Organization:PJ BUSINESS SOLUTION
</td></tr>
<tr><td >Registrant Street1:B304, SMITA TOWER
</td></tr>
<tr><td >Registrant Street2:GURUKUL ROAD,
</td></tr>
<tr><td >Registrant Street3:MEMNAGAR
</td></tr>
<tr><td >Registrant City:AHMEDABAD
</td></tr>
<tr><td >Registrant State/Province:Gujarat
</td></tr>
<tr><td >Registrant Postal Code:380052
</td></tr>
<tr><td >Registrant Country:IN
</td></tr>
<tr><td >Registrant Phone:+097.66140055
</td></tr>
<tr><td >Registrant Phone Ext.:
</td></tr>
<tr><td >Registrant FAX:
</td></tr>
<tr><td >Registrant FAX Ext.:
</td></tr>
<tr><td >Registrant Email:pankaj.s.jha@gmail.com
</td></tr>
<tr><td >Admin ID:DI_8036523
</td></tr>
<tr><td >Admin Name:PANKAJ KUMAR JHA
</td></tr>
<tr><td >Admin Organization:PJ BUSINESS SOLUTION
</td></tr>
<tr><td >Admin Street1:B304, SMITA TOWER
</td></tr>
<tr><td >Admin Street2:GURUKUL ROAD,
</td></tr>
<tr><td >Admin Street3:MEMNAGAR
</td></tr>
<tr><td >Admin City:AHMEDABAD
</td></tr>
<tr><td >Admin State/Province:Gujarat
</td></tr>
<tr><td >Admin Postal Code:380052
</td></tr>
<tr><td >Admin Country:IN
</td></tr>
<tr><td >Admin Phone:+097.66140055
</td></tr>
<tr><td >Admin Phone Ext.:
</td></tr>
<tr><td >Admin FAX:
</td></tr>
<tr><td >Admin FAX Ext.:
</td></tr>
<tr><td >Admin Email:pankaj.s.jha@gmail.com
</td></tr>
<tr><td >Tech ID:DI_8036523
</td></tr>
<tr><td >Tech Name:PANKAJ KUMAR JHA
</td></tr>
<tr><td >Tech Organization:PJ BUSINESS SOLUTION
</td></tr>
<tr><td >Tech Street1:B304, SMITA TOWER
</td></tr>
<tr><td >Tech Street2:GURUKUL ROAD,
</td></tr>
<tr><td >Tech Street3:MEMNAGAR
</td></tr>
<tr><td >Tech City:AHMEDABAD
</td></tr>
<tr><td >Tech State/Province:Gujarat
</td></tr>
<tr><td >Tech Postal Code:380052
</td></tr>
<tr><td >Tech Country:IN
</td></tr>
<tr><td >Tech Phone:+097.66140055
</td></tr>
<tr><td >Tech Phone Ext.:
</td></tr>
<tr><td >Tech FAX:
</td></tr>
<tr><td >Tech FAX Ext.:
</td></tr>
<tr><td >Tech Email:pankaj.s.jha@gmail.com
</td></tr>
<tr><td >Name Server:NS1.INDIAHOSTING.ORG
</td></tr>
<tr><td >Name Server:NS2.INDIAHOSTING.ORG
</td></tr>
<tr><td >Name Server:NS3.INDIAHOSTING.ORG
</td></tr>
<tr><td >Name Server:NS4.INDIAHOSTING.ORG
</td></tr>
<tr><td >Name Server:
</td></tr>
<tr><td >Name Server:
</td></tr>
<tr><td >Name Server:
</td></tr>
<tr><td >Name Server:
</td></tr>
<tr><td >Name Server:
</td></tr>
<tr><td >Name Server:
</td></tr>
<tr><td >Name Server:
</td></tr>
<tr><td >Name Server:
</td></tr>
<tr><td >Name Server:
</td></tr>
</table>
modified on Friday, January 7, 2011 7:30 AM
|
|
|
|
|
Remove the unwanted code please. Describe your question shortly and what type of error you are getting
|
|
|
|
|
i am not getting any error. i just want to know that how can i parse and extract desired info from such unstructured string? any help wopuld be grateful. and have removed unwanted code....
|
|
|
|
|
SChristmas wrote: Remove the unwanted code please.
The code may be unwanted by you, not the OP. I see nothing wrong with this.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Mark Nischalke wrote: The code may be unwanted by you, not the OP. I see nothing wrong with this.
Ok the problem is when i am making the reply to op CP hangs up.
|
|
|
|
|
|
hi
i have developed crystal report in ASP.net 2.0.
Everything work fine in local,but why i hosted it display more info required with some login screen.
in my crystal report database fields->set database location->property i saw that my file path is my abc.xsd file path location like,D:/a/abc.xsd. May be for that this report not display in web.
Please help me how to solve the problem.
Thanks
|
|
|
|
|
Hi ,
I am making a website so I want to enable users to purchases any product through visa or Master Card ?
I want to open account to transfer money on it ?
What i should do ?
from where I get web services ?
Is there web services to VISA and other to Master Card ?
Does Bank can give me this Web Services.
|
|
|
|
|
PayPal
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
|
Paypal is one of the most popular payment system in the world.
There are some great article on CP in which you can Navigate This[^] article.
It's a one of top article of CodeProject
|
|
|
|
|
Can I do this with local Bank in my city instead of Paypal.
|
|
|
|
|
yes you can get yourself registered at direcpay service provided by "the times group" and can make payments through any bank of india with net banking service and credit card service. its very easy to integrate too.
have a look at http://www.timesofmoney.com/direcpay/jsp/home.jsp[^]
|
|
|
|
|
Hello everybody ,
i have created an ASP.NET Web service application , but in the same solution i have created a class that implements IHTTPHandler interface
and i used this class in my web.config file as the main http handler for *.asmx extensions , i have put the following line
<add verb="*" path="*.asmx" validate="false" type="GAndroidService.Android.AndroidHandler,GAndroidService.Android" />
it works fine in Cassini embedded web server in visual studio .
but when i deploy it to my domain web server , it tells me it could not load this type or its dependencies whereas this class is associated with one of the solution folders.
how can i solve this problem IIS 6 ?
Human knowledge belongs to the world.
|
|
|
|
|
Dont ask the same question again as you asked in C# forum
|
|
|
|
|
This could be confusing to the OP as they were told in the other forum to not post there, and now you are telling them to not post here. If you read the responses to the first posting you would see they have been advised to remove the question from this forum, which they can't do now that you replied to it.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Ok thats my misunderstanding, i dont check the timings. Thanks for correcting me, cheers
|
|
|
|
|
My friend i would like to inform you that the http handler works fine without injecting the assembly in the GAC , because the http handler is not in a different assembly , it is in the same assembly namespace as the whole project but the problem was as follows .
i didn't put the assembly name after declaring the fully qualified namespace of the handler
for example the assembly name is GAndroidService
and the fully qualified namespace for the handler is
GAndroidService.Android.AndroidHandler
so the assembly is successfully loaded in memory when the web service runs in the context of asp.net engine so i had to put it like that
GAndroidService.Android.AndroidHandler , GAndroidService
i hope this could help.
Thank you guys for your great support and taking time to reply
Human knowledge belongs to the world.
|
|
|
|
|
hi mates,
happy new year to all! (oshugatu omedetto gozaimasu)
i just want to ask how can i set to front a text or a pop up calendar.
i can't explain well what i want. please see link image for basis.[here]
thanks in advance
C# コードMicrosoft End User
2000-2008
「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」
|
|
|
|
|
I could be way off the mark here, but I believe you use the CSS Z-Index property[^].
From w3schools:
The z-index property specifies the stack order of an element.
An element with greater stack order is always in front of an element with a lower stack order.
You could do this in server-side code of the calendar control, or in a CSS file - I believe using a CSS file would be better practice.
|
|
|
|
|
hi All,
My Data Access Layer trying to execute a service contract cerated by me which is inturn connecting other external web service. Its giving me the following exception.
Can anybody help me how to sort it out please.
Message "The remote server returned an error: (415) Cannot process the message because the content type 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8'.." string
I have create the biding as below and
private ICreateNewHireWorkflowState GetWorkflowStateWcfServiceClient(string endPointAddress)
{
BasicHttpBinding binding = new BasicHttpBinding();
EndpointAddress endpointAddress = new EndpointAddress(endPointAddress);
_createNewHireWorkflowStateWcfClient =
ChannelFactory<ICreateNewHireWorkflowState>.CreateChannel(binding, endpointAddress);
return _createNewHireWorkflowStateWcfClient;
}
And posting this meesage to post in to the other web service
private string CreatePostXmlString()
{
StringBuilder retString = new StringBuilder();
retString.Append(
"<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\"> <s:Header> <Action s:mustUnderstand=\"1\" xmlns=\"http://schemas.microsoft.com/ws/2005/05/addressing/none\"> http://tempuri.org/IService/MyOperation</Action>
<ActivityId CorrelationId=\"b898336e-d4e2-4eb7-a2c7-1e23f4630646\"");
retString.Append(
"xmlns=\"http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics\"> 43ffa660-a0c6-4249-bb36-648b73a06213</ActivityId></s:Header> <s:Body> <StatusUpdate><CompanyCandidateCode>12345</CompanyCandidateCode><Password>1y7UV5%9</Password><OrderStatus>SAMPLE</OrderStatus><StatusString>SAMPLE</StatusString></StatusUpdate> </s:Body></s:Envelope>");
return retString.ToString();
}
Can anybody please help me in this, is it because of the xml that I am passing what could be the reason.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
Usually when I see this error, it means that there is an error on the other end (the external web service you're consuming) that's sending back a web page with an error message, hence the UTF-8 encoding. This goes for the external web service you're consuming, as well. Let me "draw a diagram", I'm confusing myself here...
Could be an error page Could also be an error page
vvv vvv
You <---> External service <---> some other service?
I would suggest trying to browse to the URL of the endpoint of the external service you are consuming:
This address here
vvvv
EndpointAddress endpointAddress = new EndpointAddress(endPointAddress);
Also, I can't help but ask why are you sending a hard-coded XML string to the service? Or is this just a test/prototype?
|
|
|
|