do you have anti virus on your computer? some anti virus block a process that send email from application. well,like mine. so you have to turn off those rules in your anti virus.
bokuceres
Posts
-
Mail is not deliverd to Destination -
Drop Down Lists on web pages problemhello anoop, i'm sorry due to late to reply, because yesterday was chineses new year holiday. with how you assign the value of ddl? is it with ddl.selectedvalue ? if it doesnt work until you want to punch your monitor, why dont you fill you ddl's item dynamiclly? ddl.item.clear() ddl.item.add(new listitem("text","value")); hope it helps.. im sorry if im too late
-
GridView + .net 2.0something that change in gridview, you can assign value directly to boundfield and set the boundfield.visible = false then you want to catch that value. well, it happened while i was at project. you have to put a control to templatefield (in this case hiddenfield is great), assign it with data like example below. when you want to get the value, you have to use FindControl method, catch the control, get the value. ex: '<%#DataBinder.Eval(Container.DataItem, "PolicyNo")%>' hope it helps tell me if my writing's confusing
-
Drop Down Lists on web pages problemi'm not fully understand what your problem is. do you want to assign your each ddl's text or item? if item, you have to bind your ddl first with data, set selectedvalue and selectedtext then bind it. ddl.datasource = bla2 ddl.selectedvalue = bla2 ddl.selectedtext = bla2 ddl.databind() then select ddl.selectedvalue with your specific item. be careful if you want to assign with something that "by reference". sometimes if you don't assign it correctly, the result will goes like your problem like now. hope it helps
-
ASP.Net GridView Displaying DateTime value in the format 'dd-MM-yy' [modified]ooohhh ok. but be careful if your laptop's regional settings is different with your servers. if that's happens, i may suggest, you can use CultureInfo class. yes. you were right. i just know that when i posted it... :p thank you too redha
-
ASP.NET 2.0 and connection to SQL 2000 serverplease read this article https://help.maximumasp.com/SmarterTicket/Customer/KBArticle.aspx?articleid=878[^] hope it helps
-
ASP.Net GridView Displaying DateTime value in the format 'dd-MM-yy' [modified]have you check your data in your database that been bind to your gridview ? i put the same code in with you in my project, and it works just fine my code : asp:boundfield headertext="Preferred Date to Call" datafield="CallPreferredDate" sortexpression="CallPreferredDate" DataFormatString="{0:dd-MMM-yyyy}" HtmlEncode="false" itemstyle width="25%" asp:boundfield hope it helps nb:what the heck in the worls, if i put some code in this text editor, my code will not be shown?
-
Convert a web application build in 1.1 to 2.0?I have an experience in project that change 1.1 to 2.0 Yes, you need to know what the impact from new feature in framework 2.0 But you also need to know which classes that is gone in framework 2.0 because some dudes at microsoft change its name. if you have classes that have the same name with these classes, well, you will have the filling want to shot everyone like i did during in the process of changing their names, but if you layering your project (UI layer, business layer, data layer), this will not (too) concern you as well as i did while i was in the project. you also have to replace some control that no longer recommended in vs 2005, like datagrid (gridview in 2005), or some object, like arraylist (collection in 2005). as i'm always joke with my friend in project, it's not hard to convert from 1.1 to 2.0, the bug fixing that makes it so *** damned hard... but i encourage you to try, you will get a good experience and small bump in your head cause you'll be banging your head to monitor... i hope you'll try to convert it... happy bugs fixing friend
-
Image Button Postbackwhy don't you use image html instead of asp:imagebutton ? on image html you can create onclick or onclientclick eventhandler to fire your method that will show your control. hope it helps
-
Creating an Alert box in an Atlas UpdatePanel?Anytime dude... :)
-
LinkButton in GridViewwhy don't you set linkbutton.commandargument = customerid in itemdatabound/rowdatabound eventhandler then set linkbutton.commandname = "send" in property page then add itemcommand/rowcommand eventhandler in this handler add this code
if (e.commandname == "send")
{
DoWhatYouWantToDo(e.commandargument);
}i hope it helps
-
GridView Sort on each pagewhen you want to change your sort direction, aren't you have to bind the data again? that process will bring you back to page index 0, isn't it ? well if you want to go to certain page, just assign that certain page index at gridview.currentpageindex ... hope it helps..
-
Creating an Alert box in an Atlas UpdatePanel?for as long as i knew, showing alert box in update panel can't be done. i don't know if there is any funky method to achieve this goal. when i was in the project that change application's framework 1.1 to 2.0 with asp.net AJAX, the solution to this problem is providing a label control that hidden or visible = false. if you want to show any message just show the label and assign it with some string value. you can add font-color = "red" if you want to, and font-size = "even blind man can see" i hope this help, if you have the funky method that i'm talking about above, please tell me what your method is ... :) thx fellow developer...
-
update panelyou can always try another method in using updatepanel. example :
aspajax:updatepanel id="upGetContract" updatemode="conditional" runat="server"
contenttemplate
/*bunch of controls*/
contenttemplate
triggers
aspajax:asyncpostbacktrigger controlid="btnSearch" eventname="Click"
triggers
aspajax:updatepanelhope it help nb : i dont know why if i give "<" or ">" the code will not be shown... but i believe u got what i mean
-
SessionHello, I forget the what code looks like, but it is do-able. You can search at google, with keyword "setting session in web config asp.net". I'm sorry, but i really forget. :p
-
checkbox problemHi, have you add ?
if (!ispostback)
{
} -
Session Variable Problemwow.. that's fast.. hehehe :p ok. maybe u should setting your proxy, if you have any. so you can access your own localhost. ooorrrrr... maybe you should setting your browser. if ie = internet options -> connections -> lan settings -> bypass proxy server for local address if firefox = ....well, i believe you can do it... hope can help
-
Session Variable Problemsimple... just add new item and choose global.asax and you can set the (not so..) whole new world at it... hope it help
-
Gridview with checkbox columnoh ok dude... asp.net forum rocks... hehehe
-
Gridview with checkbox columnhello Anupbala, i'm sorry that i can't reply ASAP due yesterday i have employee meeting. have you find the solution? if not, you didn't do exactly what i have told you, if i look in to your code. you need to do the process individually. don't grouping them in one looping process. this what i mean :
Arraylist arrDataToQuery = GetAllTheIDWhenCheckboxIsChecked();
Datatable dtQueryResult = QueryResult(arrDataToQuery);
/*
in query result, you can query with the id with [IN] keyword
example : Select * From City Where CityID In ('1','2','3')
all you have to do is built algorithm to built string like ('1','2','3') from the arraylist that contain id.
*/gvDontCareItsName.DataSource = dtQueryResult;
gvDontCareItsName.Databind();hope this help, if u're not dead with this problem ;P , or maybe you have won... :-D