Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

postbackup does not works after using HttpUtility.HtmlDecode

$
0
0

Hello

I have strange problem

After using function HttpUtility.HtmlDecode  (see code below) my site stops to works .

It works only at first time then I call function ,but  in the second time the  page is not  responds ,looks like postback is not works any more.

Protected

SubGridView_ItLog_Status_SelectedIndexChanged(ByValsenderAsObject,ByValeAsSystem.EventArgs)HandlesGridView_ItLog_Status.SelectedIndexChanged

       

DimcommentsAsString= GridView_ItLog_Status.SelectedRow.Cells(6).Text

       

Try


            FreeTextBox1.Text =

HttpUtility.HtmlDecode(comments).ToString()  

         



       

CatchexAsException


            Label1.Text = ex.Message

       

EndTry

How can find the source of problem

Thanks


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>