|
I had missed something in ASP.NET.
Looking for info on the below:
1. What's the purpose of tag <%#....%>, we mention in aspx file.
2. WHat's the purpose of template column?
3. Whats'the diff bewteen ItemTemplate and EditItemTemplate
4. What's the diff between <%#Eval("myColumn")%> and <%#Bind("myColumn")%>? Which to use and when?
|
|
|
|
|
Do they not make books where you live ? Does google not work where you live ?
1 - it's for embedding code
2 - to define a template for a databound control
3 - one is to show data and one is to edit data
4 - I'm not sure, but I am certain if I googled I could find out.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I have a web app that uses cookies. Seems that IE8 doesn't handle having multiple sessions to my application - one session per tab. I think the cookies are part of the problem. Anybody else have this problem? Anyone have a work-around?
Rob
tagyurit.com
|
|
|
|
|
If you're using cookies, I can see how that would be an issue. You'd have to put the session id into the cookie name to have a cookie per session, I'd think.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Currently I have a web hosting solution with "Network Solutions" and I have various sub domains created there. The web sites are all straight HTML and work perfectly.
Now, I want to deploy an ASP.NET application on one of the sub domains and I'm getting a problem because the code-behind can't seem to find my custom class.
I know that the web-server is running IIS 6.0 and .NET 2.0, and I can verify that it will run a simple .aspx page which has a Page_Load code behind of:
Me.TextBox1.Text = Now.ToLongDateString
When I use the following code, Me.TextBox1.Text = HttpContext.Current.Request.PhysicalApplicationPath.ToString() it returns
"E:\0\0\112\153\275968\user\280245\htdocs\"
The twist is that my "hello.aspx" page is deployed in a sub domain in a folder called, "\htdocs\ppsm". This makes me believe that the \htdocs folder is considered the application root directory.
Question: How can I get an ASP.NET applicaiton deployed in \htdocs\ppsm to find the \htdocs\ppsm\bin folder ? Is there something I can do in the web.config ?
Thanks,
David
|
|
|
|
|
You configure IIS to see the subfolder as a seperate web application.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Thank you for your input.
I've placed a support ticket with my hosting provider requesting that my sub domain folder be listed as an application on their IIS server. I'm finding that Network Solutions is not very supportive relative to ASP.NET application deployments.
I noticed that discountASP.NET is listed under the "ASP.NET Web Hosting" section here on CodeProject. Do you have any exeprience with them ? I'm considering moving hosting providers if I can't get the support I need from my existing provider.
David
|
|
|
|
|
Hello,
i am using the article "Sending SMS using .NET through Web service
By Manoj Kumar C" for sending sms through web ser. but when this application
will run the output show the sms will send successfuly but the msg will not deliver
in the mobile and also not getting an e-mail.
so anybody tell me what i have done to deliver the message sucessfuly.
|
|
|
|
|
This has NOTHING to do with ASP.NET. And yet, it gets asked every day. You need to find a service that will deliver SMS in your area. Most services are unstable, or they cost money.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
If use localhost to send email at first check the directory C(System Drive):\Inetpub\mailroot\Queue . do you get the email message? If not you should configure IIS correctly?
shahdat
|
|
|
|
|
What on EARTH does this have to do with the question that was asked ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
The web service that he provided for that article stopped working for almost 3 years from now.. (AFAIK)
You need to find another web service like this which can send sms. If you want it for India, you might use way2sms.
|
|
|
|
|
But don't forget, if the client is NOT in india, that webservice may not work for them.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
yes... way2sms can send sms only to indian mobiles..
I dont know if there is any service available which can send sms around the globe.
|
|
|
|
|
yeah, it's possible his code needs to be used locally, so it's good you were able to provide local info, but that's why I tell people who post here about that article ( and many do ) that they need to find something local to them for testing, and to their client for deployment.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
you are absolutely right...
Even for production, I think clients cant rely on free services.. As most of the free services doesn't guarantee sms delivery.
Cheers.
|
|
|
|
|
Abhishek Sur wrote: Even for production, I think clients cant rely on free services.. As most of the free services doesn't guarantee sms delivery.
eah, the other issue is that people who have clients paying $30 for a whole project, tend not to be willing to pay for anything. I don't see any angle that would keep a free service liquid and operating.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Christian Graus wrote: people who have clients paying $30 for a whole project
you are right...
|
|
|
|
|
why dont you use enterprise.smsgupshup.com api to send sms
i am using it and it is working fine
it cost 6 to 10 paise per sms
|
|
|
|
|
can you please tell me where to download or found assembly
crystaldesicion.enterprise.framework
as
my asp.net site contain crystal report .it works fine when i run it into server server .but the server where i have to upload does not support crystal report.
i have done lots of googling and found that to copy those dll
into my bin directory
but here i again stuk i dont found crystal.enterprise.frameework.dll
and crystaldesicion.enterprise.infostore.dll in my computer and on the google.
it is installed in c:\windows\assembly
but i dont find the acctual path
plz help me
|
|
|
|
|
If it works on your PC, then you have the dll. You can search for it, just make sure you search hidden folders as well.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
ASP.NET - ASP.NET web page timing out calling SSIS package..
jason smith posted at 09-Sep-09 12:55
Hello folks,
Here's how I am calling a SSIS package.
I have ASP.NET (3.5 version - .aspx) web page calling a WCF service. The WCF service in turn calls SSIS package running on a sql server 2005.
In debug mode, I found that after say 2 minutes, the UI page times out. The WCF service still runs the SSIS package without a problem. Please look at the config file.
Can someone give me advise/suggestions on how to increase the timeout?
Thanks
Here's my web.config file on the Web UI project.
<?xml version="1.0"?><configuration>
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="WSHttpBinding_IQRMDMSService" closeTimeout="00:59:00" openTimeout="00:59:00" receiveTimeout="00:10:00" sendTimeout="00:59:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="6555536" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
<reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false"/>
<security mode="Message">
<transport clientCredentialType="Windows" proxyCredentialType="None" realm=""/>
<message clientCredentialType="Windows" negotiateServiceCredential="true" algorithmSuite="Default" establishSecurityContext="true"/>
</security>
</binding>
</wsHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost/QrmdmsServices/QRMDMSService.svc"
binding="wsHttpBinding"
bindingConfiguration="WSHttpBinding_IQRMDMSService"
contract="QRMDMSServices.IQRMDMSService"
name="WSHttpBinding_IQRMDMSService">
<identity>
<dns value="localhost"/>
</identity>
</endpoint>
</client>
</system.serviceModel>
</configuration>
|
|
|
|
|
well i am kinda stuck in a problem and i am new to asp.net. well my webform have 1 text box which take a string and there a button and a lebel. When i click the button it put 5 after every character of the string and shows in the lebel. So i did the following code in the button in default.axpx.cs :
char[] cArray = Textbox1.Text.ToCharArray();
for (int i = 0; i< cArray.length; i++)
{
lebel1.Text = cArray[i].ToString() +"5";
}
but its not working.. its showing only the last character with 5
any help???
|
|
|
|
|
Its Basic
char[] cArray = TextBox1 .Text.ToCharArray();
Label1.Text = "";
for (int i = 0; i < cArray.Length; i++)
{
Label1.Text = Label1.Text+cArray[i].ToString() + "5";
}
If It Helps Click It as Answer
|
|
|
|
|
This is so basic. I would suggest you to buy good book on C# and start reading.
Member 4507344 wrote: lebel1.Text = cArray[i].ToString() +"5";
lebel1.Text += cArray[i].ToString() +"5";
Good luck.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|